2023-12-22 16:57:25 +03:00

14 lines
248 B
Dart

import 'currency.dart';
class Amount {
String value;
Currency currency;
Amount({required this.value, required this.currency});
Map<String, dynamic> toJson() =>
{
'value': value,
'currency': currency.value
};
}