closeConnection method

  1. @override
Future<bool> closeConnection()
override

Implementation

@override
Future<bool> closeConnection() async {
  var result = await methodChannel.invokeMethod('closeConnection');
  if (Platform.isIOS) {
    return true;
  }
  return result;
}