@@ -190,9 +190,8 @@ class SyncClient {
190190
191191 /// Creates a Sync client associated with the given store and options.
192192 /// This does not initiate any connection attempts yet: call start() to do so.
193- SyncClient ._(
194- this ._store, List <String > serverUrls, List <SyncCredentials > credentials,
195- {Map <String , String >? filterVariables}) {
193+ SyncClient ._(this ._store, List <String > serverUrls,
194+ List <SyncCredentials > credentials, Map <String , String >? filterVariables) {
196195 if (serverUrls.isEmpty) {
197196 throw ArgumentError .value (
198197 serverUrls, "serverUrls" , "Provide at least one server URL" );
@@ -789,8 +788,8 @@ class Sync {
789788 if (syncClientsStorage.containsKey (store)) {
790789 throw StateError ('Only one sync client can be active for a store' );
791790 }
792- final client = SyncClient ._(store, serverUrls, credentials,
793- filterVariables : filterVariables);
791+ final client =
792+ SyncClient ._(store, serverUrls, credentials, filterVariables);
794793 syncClientsStorage[store] = client;
795794 InternalStoreAccess .addCloseListener (store, client, client.close);
796795 return client;
0 commit comments