copyWith method

SetName copyWith({
  1. String? firstName,
  2. String? lastName,
})

Implementation

SetName copyWith({
  String? firstName,
  String? lastName,
}) =>
    SetName(
      firstName: firstName ?? this.firstName,
      lastName: lastName ?? this.lastName,
    );