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