/// 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 toJson() { final map = {}; map['date'] = _date; map['number'] = _number; return map; } }