register method
Implementation
@override
void register (List<MineralEventContract> events) {
for (final event in List<MineralEvent>.from(events)) {
if (_events.containsKey(event.listener)) {
_events.get(event.listener)?.add(event);
} else {
_events.putIfAbsent(event.listener, () => [event]);
}
}
}