isInitialized static method

Future<bool> isInitialized()

returns if SDK is initialized

Implementation

static Future<bool> isInitialized() async {
  log('Calling "isInitialized"');
  final String? result = await _channel.invokeMethod('isInitialized');
  _instance._countlyState.isInitialized = result == 'true';
  return _instance._countlyState.isInitialized;
}