isInitialized static method

Future<bool> isInitialized()

Check if Pushe is initialized to server or not.

Implementation

static Future<bool> isInitialized() async {
  if(!Platform.isAndroid) return false;
  return await _channel.invokeMethod("Pushe.isInitialized") ?? false;
}