log method
Records that event happened.
Implementations must not throw and should not block: this is called from tap handlers.
Implementation
@override
void log(String event, [Map<String, Object?> eventParams = const {}]) {
events.add(event);
params.add(eventParams);
}