You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
614 B

/// date : "2023-09-08"
/// number : 0
class OrderTrend {
OrderTrend({
String date,
num number,}){
_date = date;
_number = number;
}
OrderTrend.fromJson(dynamic json) {
_date = json['date'];
_number = json['number'];
}
String _date;
num _number;
OrderTrend copyWith({ String date,
num number,
}) => OrderTrend( date: date ?? _date,
number: number ?? _number,
);
String get date => _date;
num get number => _number;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['date'] = _date;
map['number'] = _number;
return map;
}
}