Implementation
static Future<AsyncProcessingBlock> create(Pointer<Void> implementation, String facerecConfDir, String dllPath, Map context) async {
ReceivePort receivePort = ReceivePort();
Isolate isolate = await Isolate.spawn(_isolateImplementation,
{"implementation": implementation.address, "facerecConfDir": facerecConfDir, "dllPath": dllPath, "sendPort": receivePort.sendPort, "context": context});
dynamic isolateResult = await receivePort.first;
_checkException(isolateResult, isolate: isolate);
SendPort sendPort = isolateResult;
return AsyncProcessingBlock._create(isolate, sendPort);
}