set method Null safety

void set (
  1. int v
)

the integer value (number from -2147483648 to 2147483647)

Implementation

void set(int v) {
  if (v > 2147483647 || v < -2147483648) {
    throw _gen.error('Byte must be between -2147483648 and 2147483647');
  }
  _number = v;
}