CollectionModel class

Response DTO of a single collection model.

Implemented types
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

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 {}})

Properties

created String
getter/setter pair
createRule String?
getter/setter pair
deleteRule String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
indexes List<String>
getter/setter pair
listRule String?
getter/setter pair
name String
getter/setter pair
options Map<String, dynamic>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema List<SchemaField>
getter/setter pair
system bool
getter/setter pair
type String
getter/setter pair
updated String
getter/setter pair
updateRule String?
getter/setter pair
viewRule String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> json) CollectionModel