disconnect static method

Future<bool> disconnect()

Implementation

static Future<bool> disconnect() async {
  try {
    return await _platform.disconnect();
  } catch (e) {
    if (kDebugMode) print('Error disconnecting: $e');
    return false;
  }
}