clearField method

void clearField(
  1. int tagNumber
)

Clears the contents of a given field.

If it's an extension field, the Extension will be kept. The tagNumber should be a valid tag or extension.

Implementation

void clearField(int tagNumber) => _fieldSet._clearField(tagNumber);