mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-06 01:57:45 +08:00
17
lib/models_new/space/space/relation.dart
Normal file
17
lib/models_new/space/space/relation.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
class SpaceRelation {
|
||||
int? status;
|
||||
int? isFollow;
|
||||
int? isFollowed;
|
||||
|
||||
SpaceRelation({
|
||||
this.status,
|
||||
this.isFollow,
|
||||
this.isFollowed,
|
||||
});
|
||||
|
||||
factory SpaceRelation.fromJson(Map<String, dynamic> json) => SpaceRelation(
|
||||
status: json['status'] as int?,
|
||||
isFollow: json['is_follow'] as int?,
|
||||
isFollowed: json['is_followed'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user