error property

Object? error
final

Set if the mutation's action threw. null for a mutation that completed successfully. A mutation is still recorded (and its listeners still notified) even when the action throws partway through, since state may have already changed before the error — this field is what lets Orbit.observe/Orbit.changeLog tell that case apart from a clean mutation instead of silently dropping it.

Implementation

final Object? error;