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

24 lines
546 B
Dart

class Rights {
int? allowReview;
int? allowPreview;
int? isSelection;
int? selectionStyle;
int? isRcmd;
Rights({
this.allowReview,
this.allowPreview,
this.isSelection,
this.selectionStyle,
this.isRcmd,
});
factory Rights.fromJson(Map<String, dynamic> json) => Rights(
allowReview: json['allow_review'] as int?,
allowPreview: json['allow_preview'] as int?,
isSelection: json['is_selection'] as int?,
selectionStyle: json['selection_style'] as int?,
isRcmd: json['is_rcmd'] as int?,
);
}