Files
PiliPlus/lib/models_new/pgc/pgc_info_model/rights.dart
bggRGjQaUbCoE 418a1e8d39 reformat
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-07-23 16:47:11 +08:00

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?,
);
}