@@ -161,8 +161,11 @@ enum VisibilityEffect {
161
161
/// Generally the only code that should need this class is [PerAccountStore]
162
162
/// itself. Other code accesses this functionality through [PerAccountStore] ,
163
163
/// or through the mixin [ChannelStore] which describes its interface.
164
- class ChannelStoreImpl with ChannelStore {
165
- factory ChannelStoreImpl ({required InitialSnapshot initialSnapshot}) {
164
+ class ChannelStoreImpl extends PerAccountStoreBase with ChannelStore {
165
+ factory ChannelStoreImpl ({
166
+ required CorePerAccountStore core,
167
+ required InitialSnapshot initialSnapshot,
168
+ }) {
166
169
final subscriptions = Map .fromEntries (initialSnapshot.subscriptions.map (
167
170
(subscription) => MapEntry (subscription.streamId, subscription)));
168
171
@@ -182,6 +185,7 @@ class ChannelStoreImpl with ChannelStore {
182
185
}
183
186
184
187
return ChannelStoreImpl ._(
188
+ core: core,
185
189
streams: streams,
186
190
streamsByName: streams.map ((_, stream) => MapEntry (stream.name, stream)),
187
191
subscriptions: subscriptions,
@@ -190,6 +194,7 @@ class ChannelStoreImpl with ChannelStore {
190
194
}
191
195
192
196
ChannelStoreImpl ._({
197
+ required super .core,
193
198
required this .streams,
194
199
required this .streamsByName,
195
200
required this .subscriptions,
0 commit comments