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 {
16
16
this .cursor,
17
17
this .hasMore = false ,
18
18
this .exception,
19
+ this .restoredTopic,
19
20
});
20
21
21
22
final ArchivedTopicsStatus status;
22
23
final List <Topic > topics;
23
24
final String ? cursor;
24
25
final bool hasMore;
25
26
final HttpException ? exception;
27
+ final Topic ? restoredTopic;
26
28
27
29
ArchivedTopicsState copyWith ({
28
30
ArchivedTopicsStatus ? status,
29
31
List <Topic >? topics,
30
32
String ? cursor,
31
33
bool ? hasMore,
32
34
HttpException ? exception,
35
+ Topic ? restoredTopic,
33
36
}) {
34
37
return ArchivedTopicsState (
35
38
status: status ?? this .status,
36
39
topics: topics ?? this .topics,
37
40
cursor: cursor ?? this .cursor,
38
41
hasMore: hasMore ?? this .hasMore,
39
42
exception: exception ?? this .exception,
43
+ restoredTopic: restoredTopic,
40
44
);
41
45
}
42
46
@@ -47,5 +51,6 @@ class ArchivedTopicsState extends Equatable {
47
51
cursor,
48
52
hasMore,
49
53
exception,
54
+ restoredTopic,
50
55
];
51
56
}
You can’t perform that action at this time.
0 commit comments