stop method
void
stop()
Stop SignalR connection
Implementation
void stop() async {
try {
await _channel.invokeMethod("stop");
} on PlatformException catch (ex) {
print("Platform Error: ${ex.message}");
return Future.error(ex.message!);
} on Exception catch (ex) {
print("Error: ${ex.toString()}");
return Future.error(ex.toString());
}
}