Robo-advisory-dart/lib/models/healthSteam.dart

23 lines
669 B
Dart
Raw Permalink Normal View History

class HealthSteam {
String type;
int valueInPercentage;
String goldInGram;
String goldPriceInTurkishLira;
String oneGramGoldPriceInLira;
HealthSteam({
2022-09-11 14:37:28 +00:00
required this.type,
required this.valueInPercentage,
required this.goldInGram,
required this.goldPriceInTurkishLira,
required this.oneGramGoldPriceInLira,
});
HealthSteam.fromJson(Map<dynamic, dynamic> map)
: type = map["type"],
valueInPercentage = map["value_in_percentage"],
goldInGram = map["gold_in_gram"],
goldPriceInTurkishLira = map["gold_price_in_turkish_lira"],
oneGramGoldPriceInLira = map["one_gram_gold_price_in_turkish_lira"];
}