mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-18 16:16:14 +08:00
14 lines
339 B
Dart
14 lines
339 B
Dart
class Rights {
|
|
int? allowDm;
|
|
int? allowDownload;
|
|
int? areaLimit;
|
|
|
|
Rights({this.allowDm, this.allowDownload, this.areaLimit});
|
|
|
|
factory Rights.fromJson(Map<String, dynamic> json) => Rights(
|
|
allowDm: json['allow_dm'] as int?,
|
|
allowDownload: json['allow_download'] as int?,
|
|
areaLimit: json['area_limit'] as int?,
|
|
);
|
|
}
|