All checks were successful
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/bff Pipeline was successful
ci/woodpecker/push/discovery Pipeline was successful
ci/woodpecker/push/fx_ingestor Pipeline was successful
ci/woodpecker/push/fx_oracle Pipeline was successful
ci/woodpecker/push/frontend Pipeline was successful
ci/woodpecker/push/gateway_mntx Pipeline was successful
ci/woodpecker/push/gateway_chain Pipeline was successful
ci/woodpecker/push/gateway_tgsettle Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
ci/woodpecker/push/ledger Pipeline was successful
ci/woodpecker/push/notification Pipeline was successful
ci/woodpecker/push/payments_orchestrator Pipeline was successful
19 lines
425 B
Dart
19 lines
425 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'chain_asset.g.dart';
|
|
|
|
|
|
@JsonSerializable()
|
|
class ChainAssetDTO {
|
|
final String chain;
|
|
final String tokenSymbol;
|
|
|
|
const ChainAssetDTO({
|
|
required this.chain,
|
|
required this.tokenSymbol,
|
|
});
|
|
|
|
factory ChainAssetDTO.fromJson(Map<String, dynamic> json) => _$ChainAssetDTOFromJson(json);
|
|
Map<String, dynamic> toJson() => _$ChainAssetDTOToJson(this);
|
|
}
|