copyWith method

FirstName copyWith({
  1. String? first,
  2. List<String>? more,
})

Makes a copy of the current name.

Implementation

FirstName copyWith({String? first, List<String>? more}) {
  return FirstName(first ?? value, more ?? this.more);
}