runInEncodingIsolate<Q, R> method
dedicated for decoding/encoding json
Implementation
Future<R> runInEncodingIsolate<Q, R>(
R Function(Q) task,
Q argument,
) async {
await ready;
return _runTask(task, argument, _encodePool);
}