MiddleName class
- Inheritance
-
- Object
- ValueObject<
String> - Name
- MiddleName
Constructors
- MiddleName(String? str)
-
Returns a valid MiddleName object.
factory
-
MiddleName.fromJson(Map<
String, dynamic> map, {String? key}) -
Returns a valid MiddleName object.
factory
- MiddleName.fromValueObject(ValueObject vo)
-
Returns a valid MiddleName object.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{String? key}) → Map< String, String> -
override
-
toString(
) → String -
Returns the object's valid value as a String
inherited
Operators
-
operator ==(
Object o) → bool -
The equality operator.
inherited
Static Properties
- customValidator ↔ ValidCallback?
-
Define your own customValidator if you are dissatisfied with
_defaultValidator
.getter/setter pair - key ↔ String
-
Default value:
middleName
getter/setter pair
Static Methods
-
validate(
String str) → bool -
Validates
str
by_defaultValidator
or customValidator.