defaultValue method Null safety

dynamic defaultValue(
  1. int tagNumber
)

Implementation

dynamic defaultValue(int tagNumber) {
  var func = makeDefault(tagNumber);
  return func == null ? null : func();
}