SIZE_OF_TYPE constant Null safety

List<int> const SIZE_OF_TYPE

Implementation

static const List<int> SIZE_OF_TYPE = [
  0, //  0 = n/a
  1, //  1 = byte
  1, //  2 = ascii
  2, //  3 = short
  4, //  4 = long
  8, //  5 = rational
  1, //  6 = sbyte
  1, //  7 = undefined
  2, //  8 = sshort
  4, //  9 = slong
  8, // 10 = srational
  4, // 11 = float
  8, // 12 = double
  0
];