add method
Stores an extension
in the registry.
Implementation
void add(Extension extension) {
final map =
_extensions.putIfAbsent(extension.extendee, () => <int, Extension>{});
map[extension.tagNumber] = extension;
}
Stores an extension
in the registry.
void add(Extension extension) {
final map =
_extensions.putIfAbsent(extension.extendee, () => <int, Extension>{});
map[extension.tagNumber] = extension;
}