mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
17 lines
337 B
Dart
17 lines
337 B
Dart
class UidSetting {
|
|
int? id;
|
|
int? setting;
|
|
|
|
UidSetting({this.id, this.setting});
|
|
|
|
factory UidSetting.fromJson(Map<String, dynamic> json) => UidSetting(
|
|
id: json['id'] as int?,
|
|
setting: json['setting'] as int?,
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
'id': id,
|
|
'setting': setting,
|
|
};
|
|
}
|