File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,7 @@ class ZulipStream {
328328
329329 final int streamId;
330330 String name;
331+ bool isArchived;
331332 String description;
332333 String renderedDescription;
333334
@@ -350,6 +351,7 @@ class ZulipStream {
350351 ZulipStream ({
351352 required this .streamId,
352353 required this .name,
354+ required this .isArchived,
353355 required this .description,
354356 required this .renderedDescription,
355357 required this .dateCreated,
@@ -460,6 +462,7 @@ class Subscription extends ZulipStream {
460462 Subscription ({
461463 required super .streamId,
462464 required super .name,
465+ required super .isArchived,
463466 required super .description,
464467 required super .renderedDescription,
465468 required super .dateCreated,
Original file line number Diff line number Diff line change @@ -249,6 +249,7 @@ int _lastStreamId = 200;
249249ZulipStream stream ({
250250 int ? streamId,
251251 String ? name,
252+ bool ? isArchived,
252253 String ? description,
253254 String ? renderedDescription,
254255 int ? dateCreated,
@@ -268,6 +269,7 @@ ZulipStream stream({
268269 return ZulipStream (
269270 streamId: effectiveStreamId,
270271 name: effectiveName,
272+ isArchived: isArchived ?? false ,
271273 description: effectiveDescription,
272274 renderedDescription: renderedDescription ?? '<p>$effectiveDescription </p>' ,
273275 dateCreated: dateCreated ?? 1686774898 ,
@@ -306,6 +308,7 @@ Subscription subscription(
306308 return Subscription (
307309 streamId: stream.streamId,
308310 name: stream.name,
311+ isArchived: stream.isArchived,
309312 description: stream.description,
310313 renderedDescription: stream.renderedDescription,
311314 dateCreated: stream.dateCreated,
You can’t perform that action at this time.
0 commit comments