dispose method
Disposes the ILifecycle implementation, releasing any resources.
Implementation
@override
Future<void> dispose() async {
if (disposed) return;
stop();
await super.dispose();
unawaited(_events.close());
}
Disposes the ILifecycle implementation, releasing any resources.
@override
Future<void> dispose() async {
if (disposed) return;
stop();
await super.dispose();
unawaited(_events.close());
}