createProcessingBlock method Null safety

ProcessingBlock createProcessingBlock(
  1. Map ctx
)

Implementation

ProcessingBlock createProcessingBlock(Map ctx) {
  final exception = _getException();

  Context meta_ctx = this.createContext(ctx);

  final constructor = this
      ._dll_handle
      .lookupFunction<_ProcessingBlock_createProcessingBlock_c, _ProcessingBlock_createProcessingBlock_dart>(
          _c_namespace + 'FacerecService_ProcessingBlock_createProcessingBlock');

  final impl = constructor(_impl, meta_ctx._impl, exception);

  checkException(exception, _dll_handle);

  return ProcessingBlock(this._dll_handle, impl);
}