stream abstract method

Stream stream(
  1. String methodName, [
  2. List? args
])

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<dynamic> stream(String methodName, [List<dynamic>? args]);