ready method
Signals that Dart handlers are registered.
The native side buffers any invocation that arrives before this resolves — a cold launch triggered by an intent otherwise races app startup and drops the very invocation that started it.
Implementation
@override
Future<void> ready({bool background = false}) async {
if (background) {
backgroundReadyCalled = true;
} else {
readyCalled = true;
}
}