VideoWorker constructor Null safety

VideoWorker(
  1. DynamicLibrary dll_handle,
  2. Pointer<Void> impl
)

Implementation

VideoWorker(DynamicLibrary dll_handle, Pointer<Void> impl) : super(dll_handle, impl) {
  final setVW = dll_handle.lookupFunction<_VWSetThisVW_c, _VWSetThisVW_dart>(_c_namespace + 'VideoWorker_setThisVW');
  Pointer<Pointer<Void>> exception = _getException();
  Pointer<Pointer<Int32>> _emptyPointer = malloc.allocate(10);
  setVW(impl, _emptyPointer.cast(), exception);
  checkException(exception, dll_handle);
  _getInt64 = dll_handle.lookupFunction<_StructStorage_get_int64_c, _StructStorage_get_int64_dart>(_c_namespace + 'StructStorage_get_int64');
  _getDouble = dll_handle.lookupFunction<_StructStorage_get_double_c, _StructStorage_get_double_dart>(_c_namespace + 'StructStorage_get_double');
  _getPointer = dll_handle.lookupFunction<_StructStorage_get_pointer_c, _StructStorage_get_pointer_dart>(_c_namespace + 'StructStorage_get_pointer');
  _poll = _dll_handle.lookupFunction<_VWPollResults_c, _VWPollResults_dart>(_c_namespace + 'VideoWorker_poolTrackResults');
}