disconnect method

  1. @override
Future<bool> disconnect({
  1. int? delayMs,
})
override

Implementation

@override
Future<bool> disconnect({int? delayMs}) async {
  try {
    return await _close();
  } catch (e) {
    return false;
  }
}