Skip to content

Commit 5e3f174

Browse files
committed
api: Make Subscription properties mutable
1 parent 9d6d57b commit 5e3f174

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/api/model/model.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -315,18 +315,18 @@ enum StreamPostPolicy{
315315
class Subscription extends ZulipStream {
316316
// final List<int> subscribers; // we register with includeSubscribers false
317317

318-
final bool? desktopNotifications;
319-
final bool? emailNotifications;
320-
final bool? wildcardMentionsNotify;
321-
final bool? pushNotifications;
322-
final bool? audibleNotifications;
318+
bool? desktopNotifications;
319+
bool? emailNotifications;
320+
bool? wildcardMentionsNotify;
321+
bool? pushNotifications;
322+
bool? audibleNotifications;
323323

324-
final bool pinToTop;
324+
bool pinToTop;
325325

326-
final bool isMuted;
326+
bool isMuted;
327327
// final bool? inHomeView; // deprecated; ignore
328328

329-
final String color;
329+
String color;
330330

331331
Subscription({
332332
required super.streamId,

0 commit comments

Comments
 (0)