PersonName class abstract

Annotations
  • @freezed

Constructors

PersonName({@Default.new(null) String? lastName, @Default.new([]) List<String> firstNames, @Default.new(null) int? start, @Default.new(null) int? end, @Default.new([]) List<String> prefix, @Default.new([]) List<String> suffix, @Default.new(null) String? text, @Default.new(null) PersonNameUse? use})
const
factory

Properties

copyWith → $PersonNameCopyWith<PersonName>
Create a copy of PersonName with the given fields replaced by the non-null parameter values.
no setterinherited
end int?
no setterinherited
firstNames List<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
lastName String?
no setterinherited
prefix List<String>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int?
no setterinherited
suffix List<String>
no setterinherited
text String?
no setterinherited
use PersonNameUse?
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

Static Methods

encode(PersonName value) Map<String, dynamic>
fromJSON(Map<String, dynamic> data) PersonName