HarnessRun class
An intent started with AppIntentsHarness.start.
Properties
- executionId → String?
-
The
_executionIdthe handler sees, or null without an execution scope.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
progress
→ List<
HarnessProgress> -
Progress reported by this run so far.
no setter
-
result
→ Future<
Map< String, dynamic> > -
Completes with the handler's result, or with the error a native caller
would get.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
{String reason = 'userCancelled'}) → Future< void> - Cancels this run (#130). Only a run with an execution scope can be cancelled: the system addresses cancellations by execution id.
-
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