SchemaField class

Response DTO of a single collection schema field.

Implemented types
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

SchemaField({String id = "", String name = "", String type = "", bool system = false, bool required = false, bool presentable = false, Map<String, dynamic> options = const {}})

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
name String
getter/setter pair
options Map<String, dynamic>
getter/setter pair
presentable bool
getter/setter pair
required bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
system bool
getter/setter pair
type 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) SchemaField