mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-19 01:56:53 +08:00
opt member tab
try-catch handle live dm Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -22,7 +22,7 @@ class SpaceTab {
|
||||
bool? opus;
|
||||
bool? cheeseVideo;
|
||||
bool? brand;
|
||||
bool? hasItem;
|
||||
// bool? hasItem;
|
||||
|
||||
SpaceTab({
|
||||
this.archive,
|
||||
@@ -74,6 +74,6 @@ class SpaceTab {
|
||||
opus = json['opus'] as bool?;
|
||||
cheeseVideo = json['cheese_video'] as bool?;
|
||||
brand = json['brand'] as bool?;
|
||||
hasItem = json.values.any((e) => e == true);
|
||||
// hasItem = json.values.any((e) => e == true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user