markReady method
Mark the controller as ready for use.
Called by the platform view after the native view is fully initialized. This triggers onReady and allows the controller to be used.
This method is intended for internal SDK use. Users should not call this method directly.
Implementation
Future<void> markReady() async {
_throwIfDisposed();
_ready = true;
await onReady();
}