fromJSON method
Implementation
@override
Observable<bool>? fromJSON(dynamic jsonValue,
DeserializationContext context) =>
(jsonValue is String || jsonValue is bool)
? Observable<bool>(
defaultConverter.fromJSON(jsonValue, context) as bool)
: jsonValue;