DataCollection<T> constructor

DataCollection<T>(
  1. String name, {
  2. bool syncToServer = false,
  3. Duration cacheLifeSpan = const Duration(hours: 6),
})

Implementation

DataCollection(
  this.name, {
  this.syncToServer = false,
  this.cacheLifeSpan = const Duration(hours: 6),
});