ProgressResult class final
Result of NativeBindings.start, NativeBindings.resume, and NativeBindings.resumeWithError.
Contains a progress tag and, depending on the tag, accessor data.
Constructors
Properties
- argumentsJson → String?
-
Pending function arguments as JSON array (when tag == 1).
final
- callId → int?
-
Unique call identifier for this pending call (when tag == 1).
final
- errorMessage → String?
-
Error message from the C API (when tag == 2).
final
- functionName → String?
-
Pending external function name (when tag == 1).
final
- futureCallIdsJson → String?
-
JSON array of pending future call IDs (when tag == 3).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isError → int?
-
Whether the completed result is an error:
1= yes,0= no,-1= not in complete state (when tag == 0).final - kwargsJson → String?
-
Pending keyword arguments as JSON object (when tag == 1).
final
- methodCall → bool?
-
Whether this is a method call (when tag == 1).
final
- resultJson → String?
-
Completed result as JSON string (when tag == 0).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → int
-
0= complete,1= pending,2= error,3= resolve_futures.final
Methods
-
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