FieldData class

Constructors

FieldData({required String? rules, dynamic value, Map<String, dynamic>? messages, String? error})
rules - Provide valid rules, value - Initail value of the field, messages - Custom messages, error - Initial error of the field

Properties

error String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
messages Map<String, dynamic>?
final
rules String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ dynamic
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.
override

Operators

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