CollectionModel constructor

CollectionModel({
  1. String id = "",
  2. String type = "base",
  3. String created = "",
  4. String updated = "",
  5. String name = "",
  6. bool system = false,
  7. String? listRule,
  8. String? viewRule,
  9. String? createRule,
  10. String? updateRule,
  11. String? deleteRule,
  12. List<SchemaField> schema = const [],
  13. List<String> indexes = const [],
  14. Map<String, dynamic> options = const {},
})

Implementation

CollectionModel({
  this.id = "",
  this.type = "base",
  this.created = "",
  this.updated = "",
  this.name = "",
  this.system = false,
  this.listRule,
  this.viewRule,
  this.createRule,
  this.updateRule,
  this.deleteRule,
  this.schema = const [],
  this.indexes = const [],
  this.options = const {},
});