feat:更新美食记录表单
This commit is contained in:
@@ -19,16 +19,3 @@ class SummaryStats {
|
||||
|
||||
Map<String, dynamic> toJson() => _$SummaryStatsToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable()
|
||||
class ChartData {
|
||||
final String name;
|
||||
final double value;
|
||||
|
||||
const ChartData({required this.name, required this.value});
|
||||
|
||||
factory ChartData.fromJson(Map<String, dynamic> json) =>
|
||||
_$ChartDataFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$ChartDataToJson(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user