fromInt static method

Program fromInt(
  1. int number
)

Program from int value

Implementation

static Program fromInt(int number) {
  return Program._(
      sourceType: _ProgramSourceType.bytes,
      sourceValue: encodeInt(number).byteList);
}