isInitialized static method

Future<bool?> isInitialized()

Checks if the SDK has fully been initialized without errors.

Implementation

static Future<bool?> isInitialized() async {
  try {
    return _methodChannel.invokeMethod('isInitialized');
  } catch (e) {
    debugPrint('Error checking if initialized: $e');
    return null;
  }
}