createDynamicTemplateIndex method Null safety

DynamicTemplateIndex createDynamicTemplateIndex(
  1. Map config
)

Implementation

DynamicTemplateIndex createDynamicTemplateIndex(Map config) {
  final exception = _getException();

  Context meta_ctx = this.createContext(config);

  final constructor =
      _dll_handle.lookupFunction<_createDynamicTemplateIndex_2_c, _createDynamicTemplateIndex_2_dart>(
          "${_c_namespace}FacerecService_createDynamicTemplateIndex_2");

  DynamicTemplateIndex result = DynamicTemplateIndex(_dll_handle, constructor(_impl, meta_ctx._impl, exception));

  checkException(exception, _dll_handle);

  return result;
}