isCancelled method
Reads whether the library cancelled a resource request.
See mln_resource_request_is_cancelled in the
C API reference.
Implementation
bool isCancelled() => withNativeArena((arena) {
final outCancelled = arena<Bool>();
_check(
raw.mln_resource_request_is_cancelled(
_handle.raw,
outCancelled,
nativeDiagnostic,
),
);
return outCancelled.value;
});