buypeeb-mobile/lib/models/yahoo_auctions_item.dart
Lynnesbian caf0d03e3b
a lot of boo things
- split app into separate pages/routes
- put models in their own folder
- use provider to sync state between pages
- generate a preset list of items instead of an infinite amount
- added a splash screen
2020-09-30 11:45:57 +10:00

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;
}
}