mirror of
https://github.com/hmalik144/easy_cc_flutter.git
synced 2026-03-18 07:35:54 +00:00
Project lint checked and step added to config.yml
This commit is contained in:
12
lib/data/model/currency.dart
Normal file
12
lib/data/model/currency.dart
Normal file
@@ -0,0 +1,12 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user