import 'package:json_annotation/json_annotation.dart'; part 'crypto_address.g.dart'; @JsonSerializable() class CryptoAddressPaymentDataDTO { final String address; final String network; final String? destinationTag; const CryptoAddressPaymentDataDTO({ required this.address, required this.network, this.destinationTag, }); factory CryptoAddressPaymentDataDTO.fromJson(Map json) => _$CryptoAddressPaymentDataDTOFromJson(json); Map toJson() => _$CryptoAddressPaymentDataDTOToJson(this); }