custom property
State?
get
custom
The typed custom state, cast/parsed via the optional schema. null when
the snapshot carries no custom state.
Implementation
State? get custom => castOrParseState(_raw.state?.custom, _stateSchema);