mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-29 14:56:29 +08:00
@@ -18,13 +18,13 @@ class ElecSet {
|
||||
});
|
||||
|
||||
factory ElecSet.fromJson(Map<String, dynamic> json) => ElecSet(
|
||||
elecTheme: json['elec_theme'] as int?,
|
||||
rmbRate: json['rmb_rate'] as int?,
|
||||
integrityRate: json['integrity_rate'] as int?,
|
||||
roundMode: json['round_mode'] as int?,
|
||||
elecList: (json['elec_list'] as List<dynamic>?)
|
||||
?.map((e) => ElecList.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
batteryItemDesc: json['battery_item_desc'] as String?,
|
||||
);
|
||||
elecTheme: json['elec_theme'] as int?,
|
||||
rmbRate: json['rmb_rate'] as int?,
|
||||
integrityRate: json['integrity_rate'] as int?,
|
||||
roundMode: json['round_mode'] as int?,
|
||||
elecList: (json['elec_list'] as List<dynamic>?)
|
||||
?.map((e) => ElecList.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
batteryItemDesc: json['battery_item_desc'] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user