Context constructor Null safety
- DynamicLibrary dll_handle,
- Pointer<
Void> impl
Implementation
Context(DynamicLibrary dll_handle, Pointer<Void> impl) : super(dll_handle, impl) {
if (_impl.address == Pointer.fromAddress(0).address) {
var constructor =
dll_handle.lookupFunction<_Context_Construct_c, _Context_Constructor_dart>(_context_namespace + 'create');
var exception = _getException();
final newImpl = constructor(exception);
tdvCheckException(exception, _dll_handle);
this._impl = newImpl;
}
}