send<T> method
Future<T>
send<T>(
- int command, {
- List args = const [],
- CancellationToken? token,
- bool inspectRequest = false,
- bool inspectResponse = false,
Sends a command to the LocalWorker.
Implementation
Future<T> send<T>(int command,
{List args = const [],
CancellationToken? token,
bool inspectRequest = false,
bool inspectResponse = false}) =>
channel.sendRequest<T>(command, args,
token: token,
inspectRequest: inspectRequest,
inspectResponse: inspectResponse);