DataStorePluginInterface constructor

DataStorePluginInterface({
  1. required ModelProviderInterface? modelProvider,
  2. dynamic errorHandler(
    1. AmplifyException
    )?,
  3. DataStoreConflictHandler? conflictHandler,
  4. List<DataStoreSyncExpression>? syncExpressions,
  5. int? syncInterval,
  6. int? syncMaxRecords,
  7. int? syncPageSize,
  8. AuthModeStrategy authModeStrategy = AuthModeStrategy.defaultStrategy,
})

Constructs an AmplifyPlatform.

Implementation

DataStorePluginInterface({
  required this.modelProvider,
  this.errorHandler,
  this.conflictHandler,
  this.syncExpressions,
  this.syncInterval,
  this.syncMaxRecords,
  this.syncPageSize,
  this.authModeStrategy = AuthModeStrategy.defaultStrategy,
});