RunResp class

Constructors

RunResp({String? error, bool? ok, Object? output})
Returns a new RunResp instance.

Properties

error ↔ String?
Error is the connector-level failure message when not ok.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
ok ↔ bool?
Ok reports whether the action ran to completion.
getter/setter pair
output ↔ Object?
Output is the action's result when ok. Its shape is the action's own.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(dynamic value) → RunResp?
Returns a new RunResp instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RunResp>
mapFromJson(dynamic json) → Map<String, RunResp>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RunResp>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.