fromJson method
Responsible for converting the Map<String, dynamic> representation
of the bloc state into a concrete instance of the bloc state.
Implementation
@override
RequestState<T> fromJson(Map<String, dynamic> json) =>
RequestState<T>.fromJson(
json,
valueBuilder: valueFromJson,
);