getExtension method

dynamic getExtension(
  1. Extension extension
)
inherited

Returns the value of extension.

If not set, returns the extension's default value.

Implementation

dynamic getExtension(Extension extension) {
  return _fieldSet._ensureExtensions()._getFieldOrDefault(extension);
}