import 'package:json_annotation/json_annotation.dart'; import 'package:pshared/data/dto/payment/quote_aggregate.dart'; import 'package:pshared/data/dto/payment/payment_quote.dart'; part 'quotes.g.dart'; @JsonSerializable() class PaymentQuotesDTO { final String quoteRef; final PaymentQuoteAggregateDTO? aggregate; final List? quotes; const PaymentQuotesDTO({ required this.quoteRef, this.aggregate, this.quotes, }); factory PaymentQuotesDTO.fromJson(Map json) => _$PaymentQuotesDTOFromJson(json); Map toJson() => _$PaymentQuotesDTOToJson(this); }