PersonName constructor

PersonName({
  1. String? lastName,
  2. List<String> firstNames = const [],
  3. int? start,
  4. int? end,
  5. List<String> prefix = const [],
  6. List<String> suffix = const [],
  7. String? text,
  8. PersonNameUseEnum? use,
})

Returns a new PersonName instance.

Implementation

PersonName({
  this.lastName,
  this.firstNames = const [],
  this.start,
  this.end,
  this.prefix = const [],
  this.suffix = const [],
  this.text,
  this.use,
});