initialize method

Future<void> initialize()

Wait for initialization to complete.

While initializing is automatic, this helps to catch and report initialization errors.

Implementation

Future<void> initialize() async {
  await isInitialized;
}