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:
18
lib/models/space/tab2.dart
Normal file
18
lib/models/space/tab2.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
import 'item.dart';
|
||||
|
||||
part 'tab2.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Tab2 {
|
||||
String? title;
|
||||
String? param;
|
||||
List<Item>? items;
|
||||
|
||||
Tab2({this.title, this.param, this.items});
|
||||
|
||||
factory Tab2.fromJson(Map<String, dynamic> json) => _$Tab2FromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$Tab2ToJson(this);
|
||||
}
|
||||
Reference in New Issue
Block a user