ActionResult class

Constructors

ActionResult.failure({required Action action, required String summary, required GlintErrorKind? errorKind, required String? error, ({int x, int y})? physicalCenter, ({double x, double y})? logicalCenter, double? devicePixelRatio, bool? painted, bool? hittable, List<String> warnings = const [], List<String> nextSteps = const [], Map<String, Object?> extra = const {}})
ActionResult.success({required Action action, required String summary, ({int x, int y})? physicalCenter, ({double x, double y})? logicalCenter, double? devicePixelRatio, bool? painted, bool? hittable, List<String> warnings = const [], List<String> nextSteps = const [], InputReport? input})

Properties

action → Action
final
devicePixelRatio → double?
final
error → String?
final
errorKind → GlintErrorKind?
final
extra → Map<String, Object?>
Branchable numbers a failure carries (how much landed, which teams).
final
hashCode → int
The hash code for this object.
no setterinherited
hittable → bool?
final
input → InputReport?
How a routed backend delivered the input; null for single-path backends.
final
logicalCenter → ({double x, double y})?
final
nextSteps → List<String>
final
ok → bool
final
painted → bool?
final
physicalCenter → ({int x, int y})?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
summary → String
final
warnings → List<String>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited
withInput(InputReport input) → ActionResult
This success with input recorded.

Operators

operator ==(Object other) → bool
The equality operator.
inherited