invokeMethod method
Invoke any server method with optional arguments
.
Implementation
@override
Future<String> invokeMethod(String methodName,
{List<String>? arguments}) async {
try {
return await _signalrApi.invokeMethod(
methodName, arguments ?? List.empty());
} catch (e) {
return Future.error(e);
}
}