lastState property

EffectCommandState<A, E>? get lastState

Latest recorded state, or null when initial recording was disabled and no transition has happened yet.

Implementation

EffectCommandState<A, E>? get lastState {
  return _states.isEmpty ? null : _states.last;
}