buypeeb-mobile/lib/yahoo_auctions_item.dart

17 lines
No EOL
275 B
Dart

import 'package:flutter/foundation.dart';
class YahooAuctionsItem {
String id;
String name;
int price;
YahooAuctionsItem({
@required this.id,
@required this.name,
@required this.price
});
double getLocalPrice() {
return this.price / 75.0;
}
}