LastName class

Inheritance

Constructors

LastName(String? str)
Returns a valid LastName object.
factory
LastName.fromJson(Map<String, dynamic> map, {String? key})
Returns a valid LastName object.
factory
LastName.fromValueObject(ValueObject vo)
Returns a valid LastName object.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
finalinherited

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: lastName
getter/setter pair

Static Methods

validate(String str) bool
Validates str by _defaultValidator or customValidator.