FirstName class
- Inheritance
-
- Object
- ValueObject<
String> - Name
- FirstName
Constructors
- FirstName(String? str)
-
Returns a valid FirstName object.
factory
-
FirstName.fromJson(Map<
String, dynamic> map, {String? key}) -
Returns a valid FirstName object.
factory
- FirstName.fromValueObject(ValueObject vo)
-
Returns a valid FirstName object.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{String? key}) → Map< String, String> -
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:
fistName
getter/setter pair