mirror of
https://github.com/hmalik144/easy_cc_flutter.git
synced 2025-12-10 03:05:34 +00:00
12 lines
218 B
Dart
12 lines
218 B
Dart
class Currency {
|
|
String? from;
|
|
String? to;
|
|
double? rate;
|
|
|
|
Currency(this.from, this.to, this.rate);
|
|
}
|
|
|
|
/// Mapper class to convert any object to [Currency]
|
|
abstract class CurrencyMapper {
|
|
Currency convert();
|
|
} |