reconnect method

  1. @override
Future<void> reconnect()
override

Implementation

@override
Future<void> reconnect() async {
  if (FlutterPushedMessagingPlatform.status != ServiceStatus.notActive) {
    await methodChannel
        .invokeMethod<dynamic>('data', {"method": "reconnect"});
  }
}