prevState property

Map? prevState
getter/setter pairinherited

Reference to the value of state from the previous render cycle, used internally for proxying the ReactJS lifecycle method and componentDidUpdate.

Not available after componentDidUpdate is called.

DO NOT set from anywhere outside react-dart lifecycle internals.

Implementation

Map? prevState;