send method
Implementation
Future<R?> send(IsolateTask<T, R> task) {
var completer = Completer<R?>();
_completers[task.id] = completer;
_isolatePort.send(task);
return completer.future;
}
Future<R?> send(IsolateTask<T, R> task) {
var completer = Completer<R?>();
_completers[task.id] = completer;
_isolatePort.send(task);
return completer.future;
}