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/label.g.dart
Normal file
29
lib/models/space/label.g.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'label.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
Label _$LabelFromJson(Map<String, dynamic> json) => Label(
|
||||
path: json['path'] as String?,
|
||||
text: json['text'] as String?,
|
||||
labelTheme: json['label_theme'] as String?,
|
||||
textColor: json['text_color'] as String?,
|
||||
bgStyle: (json['bg_style'] as num?)?.toInt(),
|
||||
bgColor: json['bg_color'] as String?,
|
||||
borderColor: json['border_color'] as String?,
|
||||
image: json['image'] as String?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$LabelToJson(Label instance) => <String, dynamic>{
|
||||
'path': instance.path,
|
||||
'text': instance.text,
|
||||
'label_theme': instance.labelTheme,
|
||||
'text_color': instance.textColor,
|
||||
'bg_style': instance.bgStyle,
|
||||
'bg_color': instance.bgColor,
|
||||
'border_color': instance.borderColor,
|
||||
'image': instance.image,
|
||||
};
|
||||
Reference in New Issue
Block a user