File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ class SubscriptionService {
66 SubscriptionService (this ._dittoProvider);
77
88 late final _taskSub =
9- _dittoProvider.ditto! .sync .registerSubscription ("SELECT * FROM tasks" );
9+ _dittoProvider.ditto.sync .registerSubscription ("SELECT * FROM tasks" );
1010 late final _moviesSub =
11- _dittoProvider.ditto! .sync .registerSubscription ("SELECT * FROM movies" );
11+ _dittoProvider.ditto.sync .registerSubscription ("SELECT * FROM movies" );
1212 late final _commentsSub =
13- _dittoProvider.ditto! .sync .registerSubscription ("SELECT * FROM comments" );
13+ _dittoProvider.ditto.sync .registerSubscription ("SELECT * FROM comments" );
1414
1515 List <SyncSubscription > get subscriptions =>
16- _dittoProvider.ditto == null ? [] : [_taskSub, _moviesSub, _commentsSub];
16+ [_taskSub, _moviesSub, _commentsSub];
1717}
You can’t perform that action at this time.
0 commit comments