Context.fromJsonFile constructor Null safety
- DynamicLibrary dll_handle,
- String path
Implementation
Context.fromJsonFile(DynamicLibrary dll_handle, String path)
: super(dll_handle, nullptr) {
var constructor = dll_handle.lookupFunction<_Context_CreateFromJsonFile_c, _Context_CreateFromJsonFile_dart>(
_context_namespace + "createFromJsonFile");
var exception = _getException();
final newImpl = constructor(path.toNativeUtf8(), exception);
tdvCheckException(exception, _dll_handle);
this._impl = newImpl;
}