ready property
Await this method to know when the plugin will be ready.
Implementation
@override
Future<void> get ready async {
await channel.invokeMethod('$_classType.initialize', toJson());
_eventStream = EventChannel('$_channelName.$_classType.$_id')
.receiveBroadcastStream()
.map(transformPlatformEvent);
}