snapshot property

Map<String, Object?> get snapshot

The state as JSON values (whole numbers as ints, see Js.normalize).

Implementation

Map<String, Object?> get snapshot =>
    Map.unmodifiable(Js.normalize(_state, json: true)! as Map);