clearExtension method

void clearExtension(
  1. Extension extension
)
inherited

Clears an extension field and also removes the extension.

Implementation

void clearExtension(Extension extension) {
  if (_fieldSet._hasExtensions) {
    _fieldSet._extensions!._clearFieldAndInfo(extension);
  }
}