mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 19:16:44 +08:00
@@ -4,17 +4,17 @@ part 'achieve.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Achieve {
|
||||
@JsonKey(name: 'is_default')
|
||||
bool? isDefault;
|
||||
String? image;
|
||||
@JsonKey(name: 'achieve_url')
|
||||
String? achieveUrl;
|
||||
@JsonKey(name: 'is_default')
|
||||
bool? isDefault;
|
||||
String? image;
|
||||
@JsonKey(name: 'achieve_url')
|
||||
String? achieveUrl;
|
||||
|
||||
Achieve({this.isDefault, this.image, this.achieveUrl});
|
||||
Achieve({this.isDefault, this.image, this.achieveUrl});
|
||||
|
||||
factory Achieve.fromJson(Map<String, dynamic> json) {
|
||||
return _$AchieveFromJson(json);
|
||||
}
|
||||
factory Achieve.fromJson(Map<String, dynamic> json) {
|
||||
return _$AchieveFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$AchieveToJson(this);
|
||||
Map<String, dynamic> toJson() => _$AchieveToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,17 +4,17 @@ part 'article.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Article {
|
||||
int? count;
|
||||
List<dynamic>? item;
|
||||
@JsonKey(name: 'lists_count')
|
||||
int? listsCount;
|
||||
List<dynamic>? lists;
|
||||
int? count;
|
||||
List<dynamic>? item;
|
||||
@JsonKey(name: 'lists_count')
|
||||
int? listsCount;
|
||||
List<dynamic>? lists;
|
||||
|
||||
Article({this.count, this.item, this.listsCount, this.lists});
|
||||
Article({this.count, this.item, this.listsCount, this.lists});
|
||||
|
||||
factory Article.fromJson(Map<String, dynamic> json) {
|
||||
return _$ArticleFromJson(json);
|
||||
}
|
||||
factory Article.fromJson(Map<String, dynamic> json) {
|
||||
return _$ArticleFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$ArticleToJson(this);
|
||||
Map<String, dynamic> toJson() => _$ArticleToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,15 +4,15 @@ part 'attention_tip.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class AttentionTip {
|
||||
@JsonKey(name: 'card_num')
|
||||
int? cardNum;
|
||||
String? tip;
|
||||
@JsonKey(name: 'card_num')
|
||||
int? cardNum;
|
||||
String? tip;
|
||||
|
||||
AttentionTip({this.cardNum, this.tip});
|
||||
AttentionTip({this.cardNum, this.tip});
|
||||
|
||||
factory AttentionTip.fromJson(Map<String, dynamic> json) {
|
||||
return _$AttentionTipFromJson(json);
|
||||
}
|
||||
factory AttentionTip.fromJson(Map<String, dynamic> json) {
|
||||
return _$AttentionTipFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$AttentionTipToJson(this);
|
||||
Map<String, dynamic> toJson() => _$AttentionTipToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ part 'audios.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Audios {
|
||||
int? count;
|
||||
List<dynamic>? item;
|
||||
int? count;
|
||||
List<dynamic>? item;
|
||||
|
||||
Audios({this.count, this.item});
|
||||
Audios({this.count, this.item});
|
||||
|
||||
factory Audios.fromJson(Map<String, dynamic> json) {
|
||||
return _$AudiosFromJson(json);
|
||||
}
|
||||
factory Audios.fromJson(Map<String, dynamic> json) {
|
||||
return _$AudiosFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$AudiosToJson(this);
|
||||
Map<String, dynamic> toJson() => _$AudiosToJson(this);
|
||||
}
|
||||
|
||||
@@ -7,17 +7,17 @@ part 'avatar.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Avatar {
|
||||
@JsonKey(name: 'container_size')
|
||||
ContainerSize? containerSize;
|
||||
@JsonKey(name: 'fallback_layers')
|
||||
FallbackLayers? fallbackLayers;
|
||||
String? mid;
|
||||
@JsonKey(name: 'container_size')
|
||||
ContainerSize? containerSize;
|
||||
@JsonKey(name: 'fallback_layers')
|
||||
FallbackLayers? fallbackLayers;
|
||||
String? mid;
|
||||
|
||||
Avatar({this.containerSize, this.fallbackLayers, this.mid});
|
||||
Avatar({this.containerSize, this.fallbackLayers, this.mid});
|
||||
|
||||
factory Avatar.fromJson(Map<String, dynamic> json) {
|
||||
return _$AvatarFromJson(json);
|
||||
}
|
||||
factory Avatar.fromJson(Map<String, dynamic> json) {
|
||||
return _$AvatarFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$AvatarToJson(this);
|
||||
Map<String, dynamic> toJson() => _$AvatarToJson(this);
|
||||
}
|
||||
|
||||
@@ -7,16 +7,16 @@ part 'color_config.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class ColorConfig {
|
||||
@JsonKey(name: 'is_dark_mode_aware')
|
||||
bool? isDarkModeAware;
|
||||
Day? day;
|
||||
Night? night;
|
||||
@JsonKey(name: 'is_dark_mode_aware')
|
||||
bool? isDarkModeAware;
|
||||
Day? day;
|
||||
Night? night;
|
||||
|
||||
ColorConfig({this.isDarkModeAware, this.day, this.night});
|
||||
ColorConfig({this.isDarkModeAware, this.day, this.night});
|
||||
|
||||
factory ColorConfig.fromJson(Map<String, dynamic> json) {
|
||||
return _$ColorConfigFromJson(json);
|
||||
}
|
||||
factory ColorConfig.fromJson(Map<String, dynamic> json) {
|
||||
return _$ColorConfigFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$ColorConfigToJson(this);
|
||||
Map<String, dynamic> toJson() => _$ColorConfigToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ part 'colour.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Colour {
|
||||
String? dark;
|
||||
String? normal;
|
||||
String? dark;
|
||||
String? normal;
|
||||
|
||||
Colour({this.dark, this.normal});
|
||||
Colour({this.dark, this.normal});
|
||||
|
||||
factory Colour.fromJson(Map<String, dynamic> json) {
|
||||
return _$ColourFromJson(json);
|
||||
}
|
||||
factory Colour.fromJson(Map<String, dynamic> json) {
|
||||
return _$ColourFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$ColourToJson(this);
|
||||
Map<String, dynamic> toJson() => _$ColourToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ part 'container_size.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class ContainerSize {
|
||||
double? width;
|
||||
double? height;
|
||||
double? width;
|
||||
double? height;
|
||||
|
||||
ContainerSize({this.width, this.height});
|
||||
ContainerSize({this.width, this.height});
|
||||
|
||||
factory ContainerSize.fromJson(Map<String, dynamic> json) {
|
||||
return _$ContainerSizeFromJson(json);
|
||||
}
|
||||
factory ContainerSize.fromJson(Map<String, dynamic> json) {
|
||||
return _$ContainerSizeFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$ContainerSizeToJson(this);
|
||||
Map<String, dynamic> toJson() => _$ContainerSizeToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,11 +4,11 @@ part 'day.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Day {
|
||||
String? argb;
|
||||
String? argb;
|
||||
|
||||
Day({this.argb});
|
||||
Day({this.argb});
|
||||
|
||||
factory Day.fromJson(Map<String, dynamic> json) => _$DayFromJson(json);
|
||||
factory Day.fromJson(Map<String, dynamic> json) => _$DayFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$DayToJson(this);
|
||||
Map<String, dynamic> toJson() => _$DayToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,44 +4,44 @@ part 'digital_info.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class DigitalInfo {
|
||||
bool? active;
|
||||
@JsonKey(name: 'nft_type')
|
||||
int? nftType;
|
||||
@JsonKey(name: 'background_handle')
|
||||
int? backgroundHandle;
|
||||
@JsonKey(name: 'animation_first_frame')
|
||||
String? animationFirstFrame;
|
||||
@JsonKey(name: 'music_album')
|
||||
dynamic musicAlbum;
|
||||
dynamic animation;
|
||||
@JsonKey(name: 'nft_region_title')
|
||||
String? nftRegionTitle;
|
||||
@JsonKey(name: 'card_id')
|
||||
int? cardId;
|
||||
@JsonKey(name: 'cut_space_bg')
|
||||
String? cutSpaceBg;
|
||||
@JsonKey(name: 'part_type')
|
||||
int? partType;
|
||||
@JsonKey(name: 'item_jump_url')
|
||||
String? itemJumpUrl;
|
||||
bool? active;
|
||||
@JsonKey(name: 'nft_type')
|
||||
int? nftType;
|
||||
@JsonKey(name: 'background_handle')
|
||||
int? backgroundHandle;
|
||||
@JsonKey(name: 'animation_first_frame')
|
||||
String? animationFirstFrame;
|
||||
@JsonKey(name: 'music_album')
|
||||
dynamic musicAlbum;
|
||||
dynamic animation;
|
||||
@JsonKey(name: 'nft_region_title')
|
||||
String? nftRegionTitle;
|
||||
@JsonKey(name: 'card_id')
|
||||
int? cardId;
|
||||
@JsonKey(name: 'cut_space_bg')
|
||||
String? cutSpaceBg;
|
||||
@JsonKey(name: 'part_type')
|
||||
int? partType;
|
||||
@JsonKey(name: 'item_jump_url')
|
||||
String? itemJumpUrl;
|
||||
|
||||
DigitalInfo({
|
||||
this.active,
|
||||
this.nftType,
|
||||
this.backgroundHandle,
|
||||
this.animationFirstFrame,
|
||||
this.musicAlbum,
|
||||
this.animation,
|
||||
this.nftRegionTitle,
|
||||
this.cardId,
|
||||
this.cutSpaceBg,
|
||||
this.partType,
|
||||
this.itemJumpUrl,
|
||||
});
|
||||
DigitalInfo({
|
||||
this.active,
|
||||
this.nftType,
|
||||
this.backgroundHandle,
|
||||
this.animationFirstFrame,
|
||||
this.musicAlbum,
|
||||
this.animation,
|
||||
this.nftRegionTitle,
|
||||
this.cardId,
|
||||
this.cutSpaceBg,
|
||||
this.partType,
|
||||
this.itemJumpUrl,
|
||||
});
|
||||
|
||||
factory DigitalInfo.fromJson(Map<String, dynamic> json) {
|
||||
return _$DigitalInfoFromJson(json);
|
||||
}
|
||||
factory DigitalInfo.fromJson(Map<String, dynamic> json) {
|
||||
return _$DigitalInfoFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$DigitalInfoToJson(this);
|
||||
Map<String, dynamic> toJson() => _$DigitalInfoToJson(this);
|
||||
}
|
||||
|
||||
@@ -6,16 +6,16 @@ part 'draw.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Draw {
|
||||
@JsonKey(name: 'draw_type')
|
||||
int? drawType;
|
||||
@JsonKey(name: 'fill_mode')
|
||||
int? fillMode;
|
||||
@JsonKey(name: 'color_config')
|
||||
ColorConfig? colorConfig;
|
||||
@JsonKey(name: 'draw_type')
|
||||
int? drawType;
|
||||
@JsonKey(name: 'fill_mode')
|
||||
int? fillMode;
|
||||
@JsonKey(name: 'color_config')
|
||||
ColorConfig? colorConfig;
|
||||
|
||||
Draw({this.drawType, this.fillMode, this.colorConfig});
|
||||
Draw({this.drawType, this.fillMode, this.colorConfig});
|
||||
|
||||
factory Draw.fromJson(Map<String, dynamic> json) => _$DrawFromJson(json);
|
||||
factory Draw.fromJson(Map<String, dynamic> json) => _$DrawFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$DrawToJson(this);
|
||||
Map<String, dynamic> toJson() => _$DrawToJson(this);
|
||||
}
|
||||
|
||||
@@ -6,15 +6,15 @@ part 'draw_src.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class DrawSrc {
|
||||
@JsonKey(name: 'src_type')
|
||||
int? srcType;
|
||||
Draw? draw;
|
||||
@JsonKey(name: 'src_type')
|
||||
int? srcType;
|
||||
Draw? draw;
|
||||
|
||||
DrawSrc({this.srcType, this.draw});
|
||||
DrawSrc({this.srcType, this.draw});
|
||||
|
||||
factory DrawSrc.fromJson(Map<String, dynamic> json) {
|
||||
return _$DrawSrcFromJson(json);
|
||||
}
|
||||
factory DrawSrc.fromJson(Map<String, dynamic> json) {
|
||||
return _$DrawSrcFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$DrawSrcToJson(this);
|
||||
Map<String, dynamic> toJson() => _$DrawSrcToJson(this);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ part 'entrance_button.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class EntranceButton {
|
||||
String? uri;
|
||||
String? title;
|
||||
String? uri;
|
||||
String? title;
|
||||
|
||||
EntranceButton({this.uri, this.title});
|
||||
EntranceButton({this.uri, this.title});
|
||||
|
||||
factory EntranceButton.fromJson(Map<String, dynamic> json) {
|
||||
return _$EntranceButtonFromJson(json);
|
||||
}
|
||||
factory EntranceButton.fromJson(Map<String, dynamic> json) {
|
||||
return _$EntranceButtonFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$EntranceButtonToJson(this);
|
||||
Map<String, dynamic> toJson() => _$EntranceButtonToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ part 'episodic_button.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class EpisodicButton {
|
||||
String? text;
|
||||
String? uri;
|
||||
String? text;
|
||||
String? uri;
|
||||
|
||||
EpisodicButton({this.text, this.uri});
|
||||
EpisodicButton({this.text, this.uri});
|
||||
|
||||
factory EpisodicButton.fromJson(Map<String, dynamic> json) {
|
||||
return _$EpisodicButtonFromJson(json);
|
||||
}
|
||||
factory EpisodicButton.fromJson(Map<String, dynamic> json) {
|
||||
return _$EpisodicButtonFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$EpisodicButtonToJson(this);
|
||||
Map<String, dynamic> toJson() => _$EpisodicButtonToJson(this);
|
||||
}
|
||||
|
||||
@@ -6,15 +6,15 @@ part 'fallback_layers.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class FallbackLayers {
|
||||
List<Layer>? layers;
|
||||
@JsonKey(name: 'is_critical_group')
|
||||
bool? isCriticalGroup;
|
||||
List<Layer>? layers;
|
||||
@JsonKey(name: 'is_critical_group')
|
||||
bool? isCriticalGroup;
|
||||
|
||||
FallbackLayers({this.layers, this.isCriticalGroup});
|
||||
FallbackLayers({this.layers, this.isCriticalGroup});
|
||||
|
||||
factory FallbackLayers.fromJson(Map<String, dynamic> json) {
|
||||
return _$FallbackLayersFromJson(json);
|
||||
}
|
||||
factory FallbackLayers.fromJson(Map<String, dynamic> json) {
|
||||
return _$FallbackLayersFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$FallbackLayersToJson(this);
|
||||
Map<String, dynamic> toJson() => _$FallbackLayersToJson(this);
|
||||
}
|
||||
|
||||
@@ -8,18 +8,18 @@ part 'general_spec.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class GeneralSpec {
|
||||
@JsonKey(name: 'pos_spec')
|
||||
PosSpec? posSpec;
|
||||
@JsonKey(name: 'size_spec')
|
||||
SizeSpec? sizeSpec;
|
||||
@JsonKey(name: 'render_spec')
|
||||
RenderSpec? renderSpec;
|
||||
@JsonKey(name: 'pos_spec')
|
||||
PosSpec? posSpec;
|
||||
@JsonKey(name: 'size_spec')
|
||||
SizeSpec? sizeSpec;
|
||||
@JsonKey(name: 'render_spec')
|
||||
RenderSpec? renderSpec;
|
||||
|
||||
GeneralSpec({this.posSpec, this.sizeSpec, this.renderSpec});
|
||||
GeneralSpec({this.posSpec, this.sizeSpec, this.renderSpec});
|
||||
|
||||
factory GeneralSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$GeneralSpecFromJson(json);
|
||||
}
|
||||
factory GeneralSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$GeneralSpecFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$GeneralSpecToJson(this);
|
||||
Map<String, dynamic> toJson() => _$GeneralSpecToJson(this);
|
||||
}
|
||||
|
||||
@@ -6,14 +6,14 @@ part 'honours.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Honours {
|
||||
Colour? colour;
|
||||
List<dynamic>? tags;
|
||||
Colour? colour;
|
||||
List<dynamic>? tags;
|
||||
|
||||
Honours({this.colour, this.tags});
|
||||
Honours({this.colour, this.tags});
|
||||
|
||||
factory Honours.fromJson(Map<String, dynamic> json) {
|
||||
return _$HonoursFromJson(json);
|
||||
}
|
||||
factory Honours.fromJson(Map<String, dynamic> json) {
|
||||
return _$HonoursFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$HonoursToJson(this);
|
||||
Map<String, dynamic> toJson() => _$HonoursToJson(this);
|
||||
}
|
||||
|
||||
@@ -8,16 +8,16 @@ part 'layer.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Layer {
|
||||
bool? visible;
|
||||
@JsonKey(name: 'general_spec')
|
||||
GeneralSpec? generalSpec;
|
||||
@JsonKey(name: 'layer_config')
|
||||
LayerConfig? layerConfig;
|
||||
Resource? resource;
|
||||
bool? visible;
|
||||
@JsonKey(name: 'general_spec')
|
||||
GeneralSpec? generalSpec;
|
||||
@JsonKey(name: 'layer_config')
|
||||
LayerConfig? layerConfig;
|
||||
Resource? resource;
|
||||
|
||||
Layer({this.visible, this.generalSpec, this.layerConfig, this.resource});
|
||||
Layer({this.visible, this.generalSpec, this.layerConfig, this.resource});
|
||||
|
||||
factory Layer.fromJson(Map<String, dynamic> json) => _$LayerFromJson(json);
|
||||
factory Layer.fromJson(Map<String, dynamic> json) => _$LayerFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$LayerToJson(this);
|
||||
Map<String, dynamic> toJson() => _$LayerToJson(this);
|
||||
}
|
||||
|
||||
@@ -6,30 +6,30 @@ part 'level_info.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class LevelInfo {
|
||||
@JsonKey(name: 'current_level')
|
||||
int? currentLevel;
|
||||
@JsonKey(name: 'current_min')
|
||||
int? currentMin;
|
||||
@JsonKey(name: 'current_exp')
|
||||
int? currentExp;
|
||||
@JsonKey(name: 'next_exp')
|
||||
dynamic nextExp;
|
||||
int? identity;
|
||||
@JsonKey(name: 'senior_inquiry')
|
||||
SeniorInquiry? seniorInquiry;
|
||||
@JsonKey(name: 'current_level')
|
||||
int? currentLevel;
|
||||
@JsonKey(name: 'current_min')
|
||||
int? currentMin;
|
||||
@JsonKey(name: 'current_exp')
|
||||
int? currentExp;
|
||||
@JsonKey(name: 'next_exp')
|
||||
dynamic nextExp;
|
||||
int? identity;
|
||||
@JsonKey(name: 'senior_inquiry')
|
||||
SeniorInquiry? seniorInquiry;
|
||||
|
||||
LevelInfo({
|
||||
this.currentLevel,
|
||||
this.currentMin,
|
||||
this.currentExp,
|
||||
this.nextExp,
|
||||
this.identity,
|
||||
this.seniorInquiry,
|
||||
});
|
||||
LevelInfo({
|
||||
this.currentLevel,
|
||||
this.currentMin,
|
||||
this.currentExp,
|
||||
this.nextExp,
|
||||
this.identity,
|
||||
this.seniorInquiry,
|
||||
});
|
||||
|
||||
factory LevelInfo.fromJson(Map<String, dynamic> json) {
|
||||
return _$LevelInfoFromJson(json);
|
||||
}
|
||||
factory LevelInfo.fromJson(Map<String, dynamic> json) {
|
||||
return _$LevelInfoFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$LevelInfoToJson(this);
|
||||
Map<String, dynamic> toJson() => _$LevelInfoToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,26 +4,26 @@ part 'nameplate.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Nameplate {
|
||||
int? nid;
|
||||
String? name;
|
||||
String? image;
|
||||
@JsonKey(name: 'image_small')
|
||||
String? imageSmall;
|
||||
String? level;
|
||||
String? condition;
|
||||
int? nid;
|
||||
String? name;
|
||||
String? image;
|
||||
@JsonKey(name: 'image_small')
|
||||
String? imageSmall;
|
||||
String? level;
|
||||
String? condition;
|
||||
|
||||
Nameplate({
|
||||
this.nid,
|
||||
this.name,
|
||||
this.image,
|
||||
this.imageSmall,
|
||||
this.level,
|
||||
this.condition,
|
||||
});
|
||||
Nameplate({
|
||||
this.nid,
|
||||
this.name,
|
||||
this.image,
|
||||
this.imageSmall,
|
||||
this.level,
|
||||
this.condition,
|
||||
});
|
||||
|
||||
factory Nameplate.fromJson(Map<String, dynamic> json) {
|
||||
return _$NameplateFromJson(json);
|
||||
}
|
||||
factory Nameplate.fromJson(Map<String, dynamic> json) {
|
||||
return _$NameplateFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$NameplateToJson(this);
|
||||
Map<String, dynamic> toJson() => _$NameplateToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ part 'nft_certificate.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class NftCertificate {
|
||||
@JsonKey(name: 'detail_url')
|
||||
String? detailUrl;
|
||||
@JsonKey(name: 'detail_url')
|
||||
String? detailUrl;
|
||||
|
||||
NftCertificate({this.detailUrl});
|
||||
NftCertificate({this.detailUrl});
|
||||
|
||||
factory NftCertificate.fromJson(Map<String, dynamic> json) {
|
||||
return _$NftCertificateFromJson(json);
|
||||
}
|
||||
factory NftCertificate.fromJson(Map<String, dynamic> json) {
|
||||
return _$NftCertificateFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$NftCertificateToJson(this);
|
||||
Map<String, dynamic> toJson() => _$NftCertificateToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,11 +4,11 @@ part 'night.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Night {
|
||||
String? argb;
|
||||
String? argb;
|
||||
|
||||
Night({this.argb});
|
||||
Night({this.argb});
|
||||
|
||||
factory Night.fromJson(Map<String, dynamic> json) => _$NightFromJson(json);
|
||||
factory Night.fromJson(Map<String, dynamic> json) => _$NightFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$NightToJson(this);
|
||||
Map<String, dynamic> toJson() => _$NightToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,12 +4,12 @@ part 'order.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Order {
|
||||
String? title;
|
||||
String? value;
|
||||
String? title;
|
||||
String? value;
|
||||
|
||||
Order({this.title, this.value});
|
||||
Order({this.title, this.value});
|
||||
|
||||
factory Order.fromJson(Map<String, dynamic> json) => _$OrderFromJson(json);
|
||||
factory Order.fromJson(Map<String, dynamic> json) => _$OrderFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$OrderToJson(this);
|
||||
Map<String, dynamic> toJson() => _$OrderToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,18 +4,18 @@ part 'pos_spec.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class PosSpec {
|
||||
@JsonKey(name: 'coordinate_pos')
|
||||
int? coordinatePos;
|
||||
@JsonKey(name: 'axis_x')
|
||||
double? axisX;
|
||||
@JsonKey(name: 'axis_y')
|
||||
double? axisY;
|
||||
@JsonKey(name: 'coordinate_pos')
|
||||
int? coordinatePos;
|
||||
@JsonKey(name: 'axis_x')
|
||||
double? axisX;
|
||||
@JsonKey(name: 'axis_y')
|
||||
double? axisY;
|
||||
|
||||
PosSpec({this.coordinatePos, this.axisX, this.axisY});
|
||||
PosSpec({this.coordinatePos, this.axisX, this.axisY});
|
||||
|
||||
factory PosSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$PosSpecFromJson(json);
|
||||
}
|
||||
factory PosSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$PosSpecFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$PosSpecToJson(this);
|
||||
Map<String, dynamic> toJson() => _$PosSpecToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,15 +4,15 @@ part 'profession_verify.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class ProfessionVerify {
|
||||
String? icon;
|
||||
@JsonKey(name: 'show_desc')
|
||||
String? showDesc;
|
||||
String? icon;
|
||||
@JsonKey(name: 'show_desc')
|
||||
String? showDesc;
|
||||
|
||||
ProfessionVerify({this.icon, this.showDesc});
|
||||
ProfessionVerify({this.icon, this.showDesc});
|
||||
|
||||
factory ProfessionVerify.fromJson(Map<String, dynamic> json) {
|
||||
return _$ProfessionVerifyFromJson(json);
|
||||
}
|
||||
factory ProfessionVerify.fromJson(Map<String, dynamic> json) {
|
||||
return _$ProfessionVerifyFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$ProfessionVerifyToJson(this);
|
||||
Map<String, dynamic> toJson() => _$ProfessionVerifyToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ part 'purchase_button.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class PurchaseButton {
|
||||
String? uri;
|
||||
String? title;
|
||||
String? uri;
|
||||
String? title;
|
||||
|
||||
PurchaseButton({this.uri, this.title});
|
||||
PurchaseButton({this.uri, this.title});
|
||||
|
||||
factory PurchaseButton.fromJson(Map<String, dynamic> json) {
|
||||
return _$PurchaseButtonFromJson(json);
|
||||
}
|
||||
factory PurchaseButton.fromJson(Map<String, dynamic> json) {
|
||||
return _$PurchaseButtonFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$PurchaseButtonToJson(this);
|
||||
Map<String, dynamic> toJson() => _$PurchaseButtonToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,13 +4,13 @@ part 'render_spec.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class RenderSpec {
|
||||
int? opacity;
|
||||
int? opacity;
|
||||
|
||||
RenderSpec({this.opacity});
|
||||
RenderSpec({this.opacity});
|
||||
|
||||
factory RenderSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$RenderSpecFromJson(json);
|
||||
}
|
||||
factory RenderSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$RenderSpecFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$RenderSpecToJson(this);
|
||||
Map<String, dynamic> toJson() => _$RenderSpecToJson(this);
|
||||
}
|
||||
|
||||
@@ -6,14 +6,14 @@ part 'res_native_draw.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class ResNativeDraw {
|
||||
@JsonKey(name: 'draw_src')
|
||||
DrawSrc? drawSrc;
|
||||
@JsonKey(name: 'draw_src')
|
||||
DrawSrc? drawSrc;
|
||||
|
||||
ResNativeDraw({this.drawSrc});
|
||||
ResNativeDraw({this.drawSrc});
|
||||
|
||||
factory ResNativeDraw.fromJson(Map<String, dynamic> json) {
|
||||
return _$ResNativeDrawFromJson(json);
|
||||
}
|
||||
factory ResNativeDraw.fromJson(Map<String, dynamic> json) {
|
||||
return _$ResNativeDrawFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$ResNativeDrawToJson(this);
|
||||
Map<String, dynamic> toJson() => _$ResNativeDrawToJson(this);
|
||||
}
|
||||
|
||||
@@ -6,16 +6,16 @@ part 'resource.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Resource {
|
||||
@JsonKey(name: 'res_type')
|
||||
int? resType;
|
||||
@JsonKey(name: 'res_native_draw')
|
||||
ResNativeDraw? resNativeDraw;
|
||||
@JsonKey(name: 'res_type')
|
||||
int? resType;
|
||||
@JsonKey(name: 'res_native_draw')
|
||||
ResNativeDraw? resNativeDraw;
|
||||
|
||||
Resource({this.resType, this.resNativeDraw});
|
||||
Resource({this.resType, this.resNativeDraw});
|
||||
|
||||
factory Resource.fromJson(Map<String, dynamic> json) {
|
||||
return _$ResourceFromJson(json);
|
||||
}
|
||||
factory Resource.fromJson(Map<String, dynamic> json) {
|
||||
return _$ResourceFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$ResourceToJson(this);
|
||||
Map<String, dynamic> toJson() => _$ResourceToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,16 +4,16 @@ part 'senior_inquiry.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class SeniorInquiry {
|
||||
@JsonKey(name: 'inquiry_text')
|
||||
String? inquiryText;
|
||||
@JsonKey(name: 'inquiry_url')
|
||||
String? inquiryUrl;
|
||||
@JsonKey(name: 'inquiry_text')
|
||||
String? inquiryText;
|
||||
@JsonKey(name: 'inquiry_url')
|
||||
String? inquiryUrl;
|
||||
|
||||
SeniorInquiry({this.inquiryText, this.inquiryUrl});
|
||||
SeniorInquiry({this.inquiryText, this.inquiryUrl});
|
||||
|
||||
factory SeniorInquiry.fromJson(Map<String, dynamic> json) {
|
||||
return _$SeniorInquiryFromJson(json);
|
||||
}
|
||||
factory SeniorInquiry.fromJson(Map<String, dynamic> json) {
|
||||
return _$SeniorInquiryFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$SeniorInquiryToJson(this);
|
||||
Map<String, dynamic> toJson() => _$SeniorInquiryToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,13 +4,13 @@ part 'series.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Series {
|
||||
List<dynamic>? item;
|
||||
List<dynamic>? item;
|
||||
|
||||
Series({this.item});
|
||||
Series({this.item});
|
||||
|
||||
factory Series.fromJson(Map<String, dynamic> json) {
|
||||
return _$SeriesFromJson(json);
|
||||
}
|
||||
factory Series.fromJson(Map<String, dynamic> json) {
|
||||
return _$SeriesFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$SeriesToJson(this);
|
||||
Map<String, dynamic> toJson() => _$SeriesToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,65 +4,65 @@ part 'setting.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Setting {
|
||||
int? channel;
|
||||
@JsonKey(name: 'fav_video')
|
||||
int? favVideo;
|
||||
@JsonKey(name: 'coins_video')
|
||||
int? coinsVideo;
|
||||
@JsonKey(name: 'likes_video')
|
||||
int? likesVideo;
|
||||
int? bangumi;
|
||||
@JsonKey(name: 'played_game')
|
||||
int? playedGame;
|
||||
int? groups;
|
||||
int? comic;
|
||||
int? bbq;
|
||||
@JsonKey(name: 'dress_up')
|
||||
int? dressUp;
|
||||
@JsonKey(name: 'disable_following')
|
||||
int? disableFollowing;
|
||||
@JsonKey(name: 'live_playback')
|
||||
int? livePlayback;
|
||||
@JsonKey(name: 'close_space_medal')
|
||||
int? closeSpaceMedal;
|
||||
@JsonKey(name: 'only_show_wearing')
|
||||
int? onlyShowWearing;
|
||||
@JsonKey(name: 'disable_show_school')
|
||||
int? disableShowSchool;
|
||||
@JsonKey(name: 'disable_show_nft')
|
||||
int? disableShowNft;
|
||||
@JsonKey(name: 'disable_show_fans')
|
||||
int? disableShowFans;
|
||||
@JsonKey(name: 'charge_video')
|
||||
int? chargeVideo;
|
||||
@JsonKey(name: 'lesson_video')
|
||||
int? lessonVideo;
|
||||
int? channel;
|
||||
@JsonKey(name: 'fav_video')
|
||||
int? favVideo;
|
||||
@JsonKey(name: 'coins_video')
|
||||
int? coinsVideo;
|
||||
@JsonKey(name: 'likes_video')
|
||||
int? likesVideo;
|
||||
int? bangumi;
|
||||
@JsonKey(name: 'played_game')
|
||||
int? playedGame;
|
||||
int? groups;
|
||||
int? comic;
|
||||
int? bbq;
|
||||
@JsonKey(name: 'dress_up')
|
||||
int? dressUp;
|
||||
@JsonKey(name: 'disable_following')
|
||||
int? disableFollowing;
|
||||
@JsonKey(name: 'live_playback')
|
||||
int? livePlayback;
|
||||
@JsonKey(name: 'close_space_medal')
|
||||
int? closeSpaceMedal;
|
||||
@JsonKey(name: 'only_show_wearing')
|
||||
int? onlyShowWearing;
|
||||
@JsonKey(name: 'disable_show_school')
|
||||
int? disableShowSchool;
|
||||
@JsonKey(name: 'disable_show_nft')
|
||||
int? disableShowNft;
|
||||
@JsonKey(name: 'disable_show_fans')
|
||||
int? disableShowFans;
|
||||
@JsonKey(name: 'charge_video')
|
||||
int? chargeVideo;
|
||||
@JsonKey(name: 'lesson_video')
|
||||
int? lessonVideo;
|
||||
|
||||
Setting({
|
||||
this.channel,
|
||||
this.favVideo,
|
||||
this.coinsVideo,
|
||||
this.likesVideo,
|
||||
this.bangumi,
|
||||
this.playedGame,
|
||||
this.groups,
|
||||
this.comic,
|
||||
this.bbq,
|
||||
this.dressUp,
|
||||
this.disableFollowing,
|
||||
this.livePlayback,
|
||||
this.closeSpaceMedal,
|
||||
this.onlyShowWearing,
|
||||
this.disableShowSchool,
|
||||
this.disableShowNft,
|
||||
this.disableShowFans,
|
||||
this.chargeVideo,
|
||||
this.lessonVideo,
|
||||
});
|
||||
Setting({
|
||||
this.channel,
|
||||
this.favVideo,
|
||||
this.coinsVideo,
|
||||
this.likesVideo,
|
||||
this.bangumi,
|
||||
this.playedGame,
|
||||
this.groups,
|
||||
this.comic,
|
||||
this.bbq,
|
||||
this.dressUp,
|
||||
this.disableFollowing,
|
||||
this.livePlayback,
|
||||
this.closeSpaceMedal,
|
||||
this.onlyShowWearing,
|
||||
this.disableShowSchool,
|
||||
this.disableShowNft,
|
||||
this.disableShowFans,
|
||||
this.chargeVideo,
|
||||
this.lessonVideo,
|
||||
});
|
||||
|
||||
factory Setting.fromJson(Map<String, dynamic> json) {
|
||||
return _$SettingFromJson(json);
|
||||
}
|
||||
factory Setting.fromJson(Map<String, dynamic> json) {
|
||||
return _$SettingFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$SettingToJson(this);
|
||||
Map<String, dynamic> toJson() => _$SettingToJson(this);
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ part 'size_spec.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class SizeSpec {
|
||||
double? width;
|
||||
double? height;
|
||||
double? width;
|
||||
double? height;
|
||||
|
||||
SizeSpec({this.width, this.height});
|
||||
SizeSpec({this.width, this.height});
|
||||
|
||||
factory SizeSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$SizeSpecFromJson(json);
|
||||
}
|
||||
factory SizeSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$SizeSpecFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$SizeSpecToJson(this);
|
||||
Map<String, dynamic> toJson() => _$SizeSpecToJson(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user