mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 19:14:42 +08:00
17
lib/models_new/follow/data.dart
Normal file
17
lib/models_new/follow/data.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
import 'package:PiliPlus/models_new/follow/list.dart';
|
||||
|
||||
class FollowData {
|
||||
List<FollowItemModel>? list;
|
||||
int? reVersion;
|
||||
int? total;
|
||||
|
||||
FollowData({this.list, this.reVersion, this.total});
|
||||
|
||||
factory FollowData.fromJson(Map<String, dynamic> json) => FollowData(
|
||||
list: (json['list'] as List<dynamic>?)
|
||||
?.map((e) => FollowItemModel.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
reVersion: json['re_version'] as int?,
|
||||
total: json['total'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user