DirectusField class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

DirectusField({int? id, String? collection, String? field, String? special, String? interface, Map<String, Object?>? options, String? display, Map<String, Object?>? displayOptions, bool? lock, bool? readonly, bool? hidden, int? sort, String? width, int? group, List<Map<String, Object?>>? translations, String? note})
DirectusField.fromJson(Map<String, Object?> json)
Used for code generation
factory

Properties

collection String?
getter/setter pair
display String?
getter/setter pair
displayOptions Map<String, Object?>?
getter/setter pair
field String?
getter/setter pair
group int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hidden bool?
getter/setter pair
id int?
getter/setter pair
interface String?
getter/setter pair
lock bool?
getter/setter pair
note String?
getter/setter pair
options Map<String, Object?>?
getter/setter pair
readonly bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sort int?
getter/setter pair
special String?
getter/setter pair
translations List<Map<String, Object?>>?
getter/setter pair
width String?
getter/setter pair

Methods

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

Operators

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