import 'package:json_annotation/json_annotation.dart'; import 'package:pshared/data/dto/payment/money.dart'; part 'network_fee.g.dart'; @JsonSerializable() class NetworkFeeDTO { final MoneyDTO? networkFee; final String? estimationContext; const NetworkFeeDTO({ this.networkFee, this.estimationContext, }); factory NetworkFeeDTO.fromJson(Map json) => _$NetworkFeeDTOFromJson(json); Map toJson() => _$NetworkFeeDTOToJson(this); }