mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-27 03:28:40 +00:00
Refactor member page (#3)
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
17
lib/models/space/favourite2.dart
Normal file
17
lib/models/space/favourite2.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'favourite2.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Favourite2 {
|
||||
int? count;
|
||||
List<dynamic>? item;
|
||||
|
||||
Favourite2({this.count, this.item});
|
||||
|
||||
factory Favourite2.fromJson(Map<String, dynamic> json) {
|
||||
return _$Favourite2FromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$Favourite2ToJson(this);
|
||||
}
|
||||
Reference in New Issue
Block a user