QuotesResourceFromQuote.fromJson constructor
QuotesResourceFromQuote.fromJson(
- Object? json
Implementation
factory QuotesResourceFromQuote.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return QuotesResourceFromQuote(
isRevision: (map['is_revision'] as bool),
quote: QuoteOrId.fromJson(map['quote']),
);
}