Some checks failed
ci/woodpecker/push/chain_gateway Pipeline was successful
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/bff Pipeline was successful
ci/woodpecker/push/frontend Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/fx_ingestor Pipeline was successful
ci/woodpecker/push/fx_oracle 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
ci/woodpecker/push/bump_version Pipeline failed
19 lines
390 B
Dart
19 lines
390 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'money.g.dart';
|
|
|
|
|
|
@JsonSerializable()
|
|
class MoneyDTO {
|
|
final String amount;
|
|
final String currency;
|
|
|
|
const MoneyDTO({
|
|
required this.amount,
|
|
required this.currency,
|
|
});
|
|
|
|
factory MoneyDTO.fromJson(Map<String, dynamic> json) => _$MoneyDTOFromJson(json);
|
|
Map<String, dynamic> toJson() => _$MoneyDTOToJson(this);
|
|
}
|