SchemaField class

A field in a schema object.

Constructors

SchemaField(String name, SchemaType type)
A field in a schema object.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name/key of the field.
getter/setter pair
properties Map<String, dynamic>
Additional properties of the field.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type SchemaType
The type of the field.
getter/setter pair

Methods

clone() SchemaField
Creates a deep copy of this field.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) → dynamic
Gets a custom property from the field.
operator []=(String key, dynamic value) → void
Adds a custom property to the field.