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

27 lines
643 B
Dart

class ReplyControl {
int? maxLine;
String? timeDesc;
String? bizScene;
String? location;
bool? isNoteV2;
int? translationSwitch;
ReplyControl({
this.maxLine,
this.timeDesc,
this.bizScene,
this.location,
this.isNoteV2,
this.translationSwitch,
});
factory ReplyControl.fromJson(Map<String, dynamic> json) => ReplyControl(
maxLine: json['max_line'] as int?,
timeDesc: json['time_desc'] as String?,
bizScene: json['biz_scene'] as String?,
location: json['location'] as String?,
isNoteV2: json['is_note_v2'] as bool?,
translationSwitch: json['translation_switch'] as int?,
);
}