disconnect method

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

Disconnects from the MS SQL Server database.

Implementation

@override
Future<bool> disconnect() async {
  try {
    final bool? result = await methodChannel.invokeMethod<bool>('disconnect');
    return result ?? false;
  } catch (e) {
    rethrow;
  }
}