mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 09:37:02 +08:00
18 lines
379 B
Dart
18 lines
379 B
Dart
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?,
|
|
);
|
|
}
|