mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
Refactor member page (#3)
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
29
lib/models/space_archive/badge.g.dart
Normal file
29
lib/models/space_archive/badge.g.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'badge.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
Badge _$BadgeFromJson(Map<String, dynamic> json) => Badge(
|
||||
text: json['text'] as String?,
|
||||
textColor: json['text_color'] as String?,
|
||||
textColorNight: json['text_color_night'] as String?,
|
||||
bgColor: json['bg_color'] as String?,
|
||||
bgColorNight: json['bg_color_night'] as String?,
|
||||
borderColor: json['border_color'] as String?,
|
||||
borderColorNight: json['border_color_night'] as String?,
|
||||
bgStyle: (json['bg_style'] as num?)?.toInt(),
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$BadgeToJson(Badge instance) => <String, dynamic>{
|
||||
'text': instance.text,
|
||||
'text_color': instance.textColor,
|
||||
'text_color_night': instance.textColorNight,
|
||||
'bg_color': instance.bgColor,
|
||||
'bg_color_night': instance.bgColorNight,
|
||||
'border_color': instance.borderColor,
|
||||
'border_color_night': instance.borderColorNight,
|
||||
'bg_style': instance.bgStyle,
|
||||
};
|
||||
Reference in New Issue
Block a user