+ quotation provider

This commit is contained in:
Stephan D
2025-12-11 01:13:13 +01:00
parent bdf766075e
commit a4481fb63d
102 changed files with 2242 additions and 246 deletions

View File

@@ -0,0 +1,24 @@
import 'package:json_annotation/json_annotation.dart';
part 'asset.g.dart';
@JsonSerializable()
class AssetDTO {
final String chain;
@JsonKey(name: 'token_symbol')
final String tokenSymbol;
@JsonKey(name: 'contract_address')
final String? contractAddress;
const AssetDTO({
required this.chain,
required this.tokenSymbol,
this.contractAddress,
});
factory AssetDTO.fromJson(Map<String, dynamic> json) => _$AssetDTOFromJson(json);
Map<String, dynamic> toJson() => _$AssetDTOToJson(this);
}