DVStudioModelSpec constructor

const DVStudioModelSpec({
  1. required String model,
  2. required String table,
  3. required String key,
  4. required List<DVStudioFieldSpec> fields,
  5. bool tenantScoped = false,
  6. bool versioned = true,
  7. bool softDelete = false,
  8. DVConflict? offline,
  9. bool capture = false,
  10. String? module,
  11. DVModuleData? data,
  12. List<DVStudioIndexSpec> indexes = const <DVStudioIndexSpec>[],
  13. DVModelAccess? access,
  14. DVStudioModelOrigin origin = DVStudioModelOrigin.code,
})

Implementation

const DVStudioModelSpec({
  required this.model,
  required this.table,
  required this.key,
  required this.fields,
  this.tenantScoped = false,
  this.versioned = true,
  this.softDelete = false,
  this.offline,
  this.capture = false,
  this.module,
  this.data,
  this.indexes = const <DVStudioIndexSpec>[],
  this.access,
  this.origin = DVStudioModelOrigin.code,
});