mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
@@ -4,17 +4,17 @@ part 'entrance.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Entrance {
|
||||
String? icon;
|
||||
@JsonKey(name: 'jump_url')
|
||||
String? jumpUrl;
|
||||
@JsonKey(name: 'is_show_entrance')
|
||||
bool? isShowEntrance;
|
||||
String? icon;
|
||||
@JsonKey(name: 'jump_url')
|
||||
String? jumpUrl;
|
||||
@JsonKey(name: 'is_show_entrance')
|
||||
bool? isShowEntrance;
|
||||
|
||||
Entrance({this.icon, this.jumpUrl, this.isShowEntrance});
|
||||
Entrance({this.icon, this.jumpUrl, this.isShowEntrance});
|
||||
|
||||
factory Entrance.fromJson(Map<String, dynamic> json) {
|
||||
return _$EntranceFromJson(json);
|
||||
}
|
||||
factory Entrance.fromJson(Map<String, dynamic> json) {
|
||||
return _$EntranceFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$EntranceToJson(this);
|
||||
Map<String, dynamic> toJson() => _$EntranceToJson(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user