QuoteFromQuote.fromJson constructor

QuoteFromQuote.fromJson(
  1. Object? json
)

Implementation

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