File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
lib/content_management/bloc/archived_topics Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -16,27 +16,31 @@ class ArchivedTopicsState extends Equatable {
1616 this .cursor,
1717 this .hasMore = false ,
1818 this .exception,
19+ this .restoredTopic,
1920 });
2021
2122 final ArchivedTopicsStatus status;
2223 final List <Topic > topics;
2324 final String ? cursor;
2425 final bool hasMore;
2526 final HttpException ? exception;
27+ final Topic ? restoredTopic;
2628
2729 ArchivedTopicsState copyWith ({
2830 ArchivedTopicsStatus ? status,
2931 List <Topic >? topics,
3032 String ? cursor,
3133 bool ? hasMore,
3234 HttpException ? exception,
35+ Topic ? restoredTopic,
3336 }) {
3437 return ArchivedTopicsState (
3538 status: status ?? this .status,
3639 topics: topics ?? this .topics,
3740 cursor: cursor ?? this .cursor,
3841 hasMore: hasMore ?? this .hasMore,
3942 exception: exception ?? this .exception,
43+ restoredTopic: restoredTopic,
4044 );
4145 }
4246
@@ -47,5 +51,6 @@ class ArchivedTopicsState extends Equatable {
4751 cursor,
4852 hasMore,
4953 exception,
54+ restoredTopic,
5055 ];
5156}
You can’t perform that action at this time.
0 commit comments