Files
PiliPlus/lib/models/stein_edgeinfo/choice.dart
bggRGjQaUbCoE 924d51d41b opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-05-29 17:17:42 +08:00

30 lines
692 B
Dart

class Choice {
int? id;
String? platformAction;
String? nativeAction;
String? condition;
int? cid;
String? option;
int? isDefault;
Choice({
this.id,
this.platformAction,
this.nativeAction,
this.condition,
this.cid,
this.option,
this.isDefault,
});
factory Choice.fromJson(Map<String, dynamic> json) => Choice(
id: json['id'] as int?,
platformAction: json['platform_action'] as String?,
nativeAction: json['native_action'] as String?,
condition: json['condition'] as String?,
cid: json['cid'] as int?,
option: json['option'] as String?,
isDefault: json['is_default'] as int?,
);
}