MemberValue class

Inheritance
  • Object
  • FormValue
  • MemberValue

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
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
status → MemberStatus
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
userId → String?
final
validFields → Map<String, bool>
captures the validity of field data
final
value → String
final

Methods

copyWith({String? userId, bool resetUserId = false, String? value, bool? isReadOnly, MemberStatus? status, (String, bool)? isFieldValid}) → MemberValue
fromOrgUser(OrgUser orgUser) → MemberValue
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 = '', dynamic isReadOnly = false, MemberStatus? status}) → MemberValue