complete MECE request

This commit is contained in:
Stephan D
2026-02-24 18:33:12 +01:00
parent 4c5677202a
commit a998b59072
34 changed files with 957 additions and 156 deletions

View File

@@ -4,7 +4,6 @@ import 'package:pshared/data/dto/money.dart';
part 'fx_quote.g.dart';
@JsonSerializable()
class FxQuoteDTO {
final String? quoteRef;
@@ -15,6 +14,7 @@ class FxQuoteDTO {
final MoneyDTO? baseAmount;
final MoneyDTO? quoteAmount;
final int? expiresAtUnixMs;
final int? pricedAtUnixMs;
final String? provider;
final String? rateRef;
@@ -30,11 +30,13 @@ class FxQuoteDTO {
this.baseAmount,
this.quoteAmount,
this.expiresAtUnixMs,
this.pricedAtUnixMs,
this.provider,
this.rateRef,
this.firm = false,
});
factory FxQuoteDTO.fromJson(Map<String, dynamic> json) => _$FxQuoteDTOFromJson(json);
factory FxQuoteDTO.fromJson(Map<String, dynamic> json) =>
_$FxQuoteDTOFromJson(json);
Map<String, dynamic> toJson() => _$FxQuoteDTOToJson(this);
}