FieldMetadata class

Metadata of a field in a CrystallisData class.

Constructors

FieldMetadata({required String name, required Type type, required List<Validator> validators, Serializer serializer = defaultSerializer})
Creates a FieldMetadata.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Name of the field.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serializer Serializer
Custom serializer for the field.
final
type Type
Type of the field.
final
validators List<Validator>
List of applied validators.
final

Methods

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