Surname enum

An option indicating how to format a surname.

This enum can be set via Config or when creating a LastName. As this can become ambiguous at the time of handling it, the value set in Config is prioritized and viewed as the source of truth for future considerations.

Inheritance

Constructors

Surname()
const

Values

father → const Surname

The fatherly surname only.

mother → const Surname

The motherly surname only.

hyphenated → const Surname

The junction of both the fatherly and motherly surnames with a hyphen.

all → const Surname

The junction of both the fatherly and motherly surnames with a space.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<Surname>
A constant List of the values in this enum, in order of their declaration.