buypeeb-mobile/lib/models/yahoo_auctions_item.dart

15 lines
239 B
Dart
Raw Normal View History

2020-09-29 15:31:31 +00:00
import 'package:flutter/foundation.dart';
class YahooAuctionsItem {
String name;
int price;
YahooAuctionsItem({
@required this.name,
@required this.price
});
double getLocalPrice() {
return this.price / 75.0;
}
}