This commit is contained in:
Sai Naw Wun
2020-10-07 02:33:06 +06:30
parent 01a2798a74
commit 65dda16fe6
475 changed files with 1543 additions and 90780 deletions

View File

@@ -0,0 +1,31 @@
class Rate {
String id;
String name;
String description;
String fromTime;
String toTime;
int price;
Rate(
{this.id,
this.name,
this.description,
this.fromTime,
this.toTime,
this.price,});
factory Rate.fromMap(Map<String, dynamic> map, String id) {
return Rate(
id: id,
name: map['name'],
description: map['description'],
fromTime: map['from_time'],
toTime: map['to_time'],
price: map['price'],);
}
@override
String toString() {
return 'Rate{id:$id, name:$name,description:$description,fromTime:$fromTime,toTime:$toTime}';
}
}