getFieldOrNull method

dynamic getFieldOrNull(
  1. int tagNumber
)

Returns the value of a field, ignoring any defaults.

For unset or cleared fields, returns null. Also returns null for unknown tag numbers.

Implementation

dynamic getFieldOrNull(int tagNumber) =>
    _fieldSet._getFieldOrNullByTag(tagNumber);