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