+ 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,16 @@
import 'package:pshared/data/dto/payment/currency_pair.dart';
import 'package:pshared/models/payment/currency_pair.dart';
extension CurrencyPairMapper on CurrencyPair {
CurrencyPairDTO toDTO() => CurrencyPairDTO(
base: base,
quote: quote,
);
}
extension CurrencyPairDTOMapper on CurrencyPairDTO {
CurrencyPair toDomain() => CurrencyPair(
base: base,
quote: quote,
);
}