poll method Null safety

Pointer<Void> poll(
  1. Pointer<Void> pointer,
  2. int value
)

Implementation

Pointer<Void> poll(Pointer<Void> pointer, int value) {
  Pointer<Pointer<Void>> exception = _getException();
  final result = _poll(pointer, value, exception);
  checkException(exception, _dll_handle);
  return result;
}