close method
override
Implementation
@override
Future<void> close() async {
try {
await plugin.runEvent(
eventType: 'WorldClosing',
event: '{"type":"WorldClosing"}',
source: kAuthorityChannel,
target: kAnyChannel,
cancelled: false,
);
} finally {
await super.close();
}
}