ContextTemplate constructor Null safety

ContextTemplate(
  1. DynamicLibrary dll_handle,
  2. Pointer<Void> impl,
  3. {bool weak = false}
)

Implementation

ContextTemplate(DynamicLibrary dll_handle, Pointer<Void> impl, {bool weak = false})
    : _dll_handle = dll_handle,
      _impl = impl,
      _destructor = dll_handle.lookupFunction<_contextTemplateDestructor_c, _contextTemplateDestructor_dart>(_c_namespace + 'ContextTemplate_destructor');