mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-24 10:08:41 +00:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
13
lib/models/pgc/pgc_info_model/rights.dart
Normal file
13
lib/models/pgc/pgc_info_model/rights.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
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?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user