mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-25 03:26:22 +08:00
opt dyn topic
opt member opus Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
class SpaceTabFilter {
|
||||
SpaceTabFilter({
|
||||
const SpaceTabFilter({
|
||||
this.text,
|
||||
required this.meta,
|
||||
this.tabName,
|
||||
});
|
||||
|
||||
String? text;
|
||||
late String meta;
|
||||
String? tabName;
|
||||
final String? text;
|
||||
final String meta;
|
||||
final String? tabName;
|
||||
|
||||
SpaceTabFilter.fromJson(Map<String, dynamic> json) {
|
||||
text = json['text'];
|
||||
meta = json['meta'] ?? 'all';
|
||||
tabName = json['tab_ame'];
|
||||
}
|
||||
factory SpaceTabFilter.fromJson(Map<String, dynamic> json) => SpaceTabFilter(
|
||||
text: json['text'],
|
||||
meta: json['meta'] ?? 'all',
|
||||
tabName: json['tab_ame'],
|
||||
);
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
|
||||
Reference in New Issue
Block a user