⬆️ Support newer version of server messaging

This commit is contained in:
2024-05-05 01:53:31 +08:00
parent efc46dbbc5
commit cf0d473a40
10 changed files with 19 additions and 19 deletions

View File

@ -13,7 +13,7 @@ class Channel {
int type;
Account account;
int accountId;
int realmId;
int? realmId;
Channel({
required this.id,
@ -28,7 +28,7 @@ class Channel {
required this.type,
required this.account,
required this.accountId,
required this.realmId,
this.realmId,
});
factory Channel.fromJson(Map<String, dynamic> json) => Channel(