initialized property

  1. @visibleForTesting
Future<void> initialized

A future that resolves when the plugin is fully initialized.

This ensures that the SDK has been loaded, and that the initWithParams method has finished running.

Implementation

@visibleForTesting
Future<void> get initialized {
  _assertIsInitCalled();
  return Future.wait<void>(
      <Future<void>>[_jsSdkLoadedFuture, _initCalled!.future]);
}