mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
16 lines
419 B
Dart
16 lines
419 B
Dart
import 'package:PiliPlus/models_new/bubble/tribee_info.dart';
|
|
|
|
class BaseInfo {
|
|
TribeInfo? tribeInfo;
|
|
bool? isJoined;
|
|
|
|
BaseInfo({this.tribeInfo, this.isJoined});
|
|
|
|
factory BaseInfo.fromJson(Map<String, dynamic> json) => BaseInfo(
|
|
tribeInfo: json['tribee_info'] == null
|
|
? null
|
|
: TribeInfo.fromJson(json['tribee_info'] as Map<String, dynamic>),
|
|
isJoined: json['is_joined'] as bool?,
|
|
);
|
|
}
|