isInitialized static method

Future<bool> isInitialized()

Returns whether the native SDK has finished initializing.

With the native-file auto-init model the SDK configures itself at app launch (before the Flutter engine starts), so this is typically already true by the time Dart code runs. Useful as a defensive readiness check.

Implementation

static Future<bool> isInitialized() async {
  final result = await methodChannel.invokeMethod<bool>('isInitialized');
  return result ?? false;
}