mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
chore: organize imports
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
import 'package:PiliPlus/models/space_fav/media_list_response.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'datum.g.dart';
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
import 'package:PiliPlus/models/space_fav/upper.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'list.g.dart';
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
import 'package:PiliPlus/models/space_fav/list.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'media_list_response.g.dart';
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
import 'package:PiliPlus/models/space_fav/datum.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'space_fav.g.dart';
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@ part 'upper.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Upper {
|
||||
int? mid;
|
||||
String? name;
|
||||
String? face;
|
||||
int? mid;
|
||||
String? name;
|
||||
String? face;
|
||||
|
||||
Upper({this.mid, this.name, this.face});
|
||||
Upper({this.mid, this.name, this.face});
|
||||
|
||||
factory Upper.fromJson(Map<String, dynamic> json) => _$UpperFromJson(json);
|
||||
factory Upper.fromJson(Map<String, dynamic> json) => _$UpperFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$UpperToJson(this);
|
||||
Map<String, dynamic> toJson() => _$UpperToJson(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user