initialize static method

Future<void> initialize()

Implementation

static Future<void> initialize() async {
  if (_provider == null) {
    throw StateError('PushNotificationProvider not set');
  }
  await _provider!.initialize();
}