CollectionModel constructor
CollectionModel({
- String id = "",
- String type = "base",
- String created = "",
- String updated = "",
- String name = "",
- bool system = false,
- String? listRule,
- String? viewRule,
- String? createRule,
- String? updateRule,
- String? deleteRule,
- List<
SchemaField> schema = const [], - List<
String> indexes = const [], - 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 {},
});