Files
PiliPlus/lib/models_new/bubble/base_info.dart
dom 222c9d01a0 bubble page
Signed-off-by: dom <githubaccount56556@proton.me>
2026-04-09 21:32:07 +08:00

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?,
);
}