Name class abstract

Name

Properties:

  • firstName - The individual's first name. Must not be blank.
  • infix - The infix in the individual's name, if any.
  • lastName - The individual's last name. Must not be blank.
Annotations
  • @BuiltValue.new()

Constructors

Name([void updates(NameBuilder b)])
factory

Properties

firstName String
The individual's first name. Must not be blank.
no setter
hashCode int
The hash code for this object.
no setterinherited
infix String?
The infix in the individual's name, if any.
no setter
lastName String
The individual's last name. Must not be blank.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(NameBuilder)) Name
Rebuilds the instance.
inherited
toBuilder() NameBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<Name>
no setter