send method

  1. @override
Future send(
  1. int command, {
  2. List args = const [],
  3. CancelationToken? token,
  4. bool inspectRequest = false,
  5. bool inspectResponse = false,
})
inherited

Sends a command to the Worker.

Implementation

@override
Future<dynamic> send(int command,
        {List args = const [],
        CancelationToken? token,
        bool inspectRequest = false,
        bool inspectResponse = false}) =>
    channel.sendRequest(command, args,
        token: token?.wrap(),
        inspectRequest: inspectRequest,
        inspectResponse: inspectResponse);