Field class

Constructors

Field(String name, {List<ValidatorEvent> validators = const [], Object? initValue, Type type = String, Function? initOptions})

Properties

hashCode → int
The hash code for this object.
no setterinherited
initOptions ↔ Function?
data is optional data that can be passed to the initOptions function
getter/setter pair
initValue ↔ Object?
getter/setter pair
name ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ Type
getter/setter pair
validators ↔ List<ValidatorEvent>
getter/setter pair

Methods

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

Operators

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