The value of this JsonKey.
@pre The JsonKey must be populated with a value.
Implementation
T get value => switch (_state) {
_FullyPopulatedState(value: final value) ||
_PopulatedState(value: final value) =>
value,
_ParserState() => throw StateError('Cannot get value of a parser'),
};