Response class
What the resolution did, and where the repository's sync now stands.
Constructors
- Response({required ResponseAction action, RightRecord? right, required Sync sync, Ext? ext})
-
const
-
Response.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- action → ResponseAction
-
The action taken, as requested.
final
- ext → Ext?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- right → RightRecord?
-
For
adopt: the recorded right — newly recorded, or the live record that already existed. Absent forrevert.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sync → Sync
-
The repository's sync after the resolution. The resolved item is no longer
outstanding; the state is
driftwhile other items remain, and otherwisependinguntil the bridge confirms the forge matches.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited