ContactValue<T> class

Inheritance

Properties

description → String?
a brief description of the address
final
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
determines if all required 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
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, the toString method will be overridden to output this instance's props.
no setterinherited
type → T?
the type of contact
final
validFields → Map<String, bool>
captures the validity of field data
final
value → String
phone number, email, social handle, etc.
final

Methods

copyWith({T? type, String? description, String? value, (String, bool)? isFieldValid}) → ContactValue<T>
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<T>({T? type, String? description, String? value}) → ContactValue<T>