QuotesResourceComputed.fromJson constructor
QuotesResourceComputed.fromJson(
- Object? json
Implementation
factory QuotesResourceComputed.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return QuotesResourceComputed(
recurring: map['recurring'] == null
? null
: QuotesResourceComputedRecurring.fromJson(map['recurring']),
upfront: QuotesResourceUpfront.fromJson(map['upfront']),
);
}