Skip to content

Commit f301e0f

Browse files
committed
api: Make Subscription properties mutable
1 parent 902c373 commit f301e0f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/api/model/model.dart

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -315,17 +315,17 @@ 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;
323-
324-
final bool pinToTop;
325-
final bool isMuted;
318+
bool? desktopNotifications;
319+
bool? emailNotifications;
320+
bool? wildcardMentionsNotify;
321+
bool? pushNotifications;
322+
bool? audibleNotifications;
323+
324+
bool pinToTop;
325+
bool isMuted;
326326
// final bool? inHomeView; // deprecated; ignore
327327

328-
final String color;
328+
String color;
329329

330330
Subscription({
331331
required super.streamId,

0 commit comments

Comments
 (0)