InputValue class
A form value that captures a single input value
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
determines if all fields are empty
no setteroverride
- isNotEmpty → bool
-
determines if all fields are not empty
no setterinherited
- isReadOnly → bool
-
true if the form value is read only
no setterinherited
- isRequired → bool
-
final
- isRequiredNotEmpty → bool
-
determines if all required fields are not empty
no setteroverride
- isValid → bool
-
determines if all required fields are valie
no setterinherited
- key → Key?
-
finalinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited -
validFields
→ Map<
String, bool> -
captures the validity of field data
final
- value → String
-
final
Methods
-
copyWith(
{String? value, (String, bool)? isFieldValid}) → InputValue -
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
Static Methods
-
create(
{String value = '', bool isRequired = true}) → InputValue