InappifyRequestCancellation class
Cooperative cancellation handle for an in-flight SDK request.
Web adapters translate this handle to an AbortSignal. Other backends may
ignore it when their transport cannot cancel safely. Calling cancel more
than once is idempotent and never throws.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCancelled → bool
-
Whether cancellation has already been requested.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
whenCancelled
→ Stream<
void> -
Notification consumed by platform adapters that support cancellation.
no setter
Methods
-
cancel(
) → void - Requests cancellation of the associated operation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited