fieldType method Null safety

int? fieldType(
  1. int tagNumber
)

Implementation

int? fieldType(int tagNumber) {
  var i = fieldInfo[tagNumber];
  return i?.type;
}