deliver abstract method
Future
deliver(
- String method, {
- dynamic param,
- Duration? timeout,
- Cancelable? cancelable,
- Notify? onNotify,
Deliver a message with method
to paired isolatengine with reply.
method
Method witch is registered by paired isolatengine.
param
Param of this method.
/// The content of param
could be:
- Null
- bool
- int
- double
- String
- List or Map (whose elements are any of these)
- TransferableTypedData
- SendPort
- Capability
timeout
Timeout.cancelable
Cancelletion context.onNotify
Notification callback.
Implementation
Future<dynamic> deliver(
String method, {
dynamic param,
Duration? timeout,
Cancelable? cancelable,
Notify? onNotify,
});