clientMultiCredentialsMultiUrls static method

  1. @Deprecated('Use the SyncClient constructor instead')
SyncClient clientMultiCredentialsMultiUrls(
  1. Store store,
  2. List<String> serverUrls,
  3. List<SyncCredentials> credentials, {
  4. Map<String, String>? filterVariables,
  5. List<String>? certificatePaths,
  6. int? flags,
})

Like client, but accepts a list of credentials and a list of URLs to work with multiple servers.

When passing multiple credentials, does not support SyncCredentials.none.

Implementation

@Deprecated('Use the SyncClient constructor instead')
static SyncClient clientMultiCredentialsMultiUrls(Store store,
        List<String> serverUrls, List<SyncCredentials> credentials,
        {Map<String, String>? filterVariables,
        List<String>? certificatePaths,
        int? flags}) =>
    SyncClient(store, serverUrls, credentials,
        filterVariables: filterVariables,
        certificatePaths: certificatePaths,
        flags: flags);