CachingDatabaseAdapter constructor

CachingDatabaseAdapter(
  1. {@required DatabaseAdapter master,
  2. @required DatabaseAdapter cache,
  3. bool useCacheWhenMasterUnavailable = true}
)

Implementation

CachingDatabaseAdapter({
  @required this.master,
  @required this.cache,
  this.useCacheWhenMasterUnavailable = true,
}) : super(master) {
  ArgumentError.checkNotNull(master, 'master');
  ArgumentError.checkNotNull(cache, 'cache');
}