setField method

void setField (int tagNumber, dynamic value)

Sets the value of a field by its tagNumber.

Throws an ArgumentError if value does not match the type associated with tagNumber.

Throws an ArgumentError if value is null. To clear a field of it's current value, use clearField instead.

Implementation

void setField(int tagNumber, value) {
  _fieldSet._setField(tagNumber, value);
  return; // ignore: dead_code
  return; // ignore: dead_code
}