PersonNameDto class

Constructors

PersonNameDto({String? lastName, List<String> firstNames = const [], int? start, int? end, List<String> prefix = const [], List<String> suffix = const [], String? text, PersonNameDtoUseEnum? use})
Returns a new PersonNameDto instance.

Properties

end int?
Ending date of time period when name is/was valid for use. Date encoded as a fuzzy date on 8 positions (YYYYMMDD)
getter/setter pair
firstNames List<String>
Given names (not always 'first'). Includes middle names. This repeating element order: Given Names appear in the correct order for presenting the name
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
lastName String?
Family name (often called 'Surname')
getter/setter pair
prefix List<String>
Parts that come before the name. This repeating element order: Prefixes appear in the correct order for presenting the name
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int?
Starting date of time period when name is/was valid for use. Date encoded as a fuzzy date on 8 positions (YYYYMMDD)
getter/setter pair
suffix List<String>
Parts that come after the name. This repeating element order: Suffixes appear in the correct order for presenting the name
getter/setter pair
text String?
Text representation of the full name
getter/setter pair
use PersonNameDtoUseEnum?
What is the use of this name
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(dynamic value) PersonNameDto?
Returns a new PersonNameDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<PersonNameDto>?
mapFromJson(dynamic json) Map<String, PersonNameDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<PersonNameDto>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.