stream method
Invokes a streaming hub method on the server using the specified name and arguments.
T: The type of the items returned by the server. methodName: The name of the server method to invoke. args: The arguments used to invoke the server method. Returns an object that yields results from the server as they are received.
Implementation
Stream<Object?> stream(String methodName, List<Object> args) {
return streamControllable(methodName, args).stream;
}