FrStateJson top-level constant

Freezed const FrStateJson

Recommended Freezed preset for page-local immutable state that must be restored from serialized JSON, such as persisted or recoverable UI state.

Use this only when the state class genuinely needs fromJson() in addition to debug-friendly toJson().

Implementation

// ignore: constant_identifier_names
const FrStateJson = Freezed(
  copyWith: true,
  equal: true,
  toStringOverride: true,
  fromJson: true,
  toJson: true,
);