copyWith method

Usernames copyWith({
  1. List<String>? activeUsernames,
  2. List<String>? disabledUsernames,
  3. String? editableUsername,
})

Implementation

Usernames copyWith({
  List<String>? activeUsernames,
  List<String>? disabledUsernames,
  String? editableUsername,
}) =>
    Usernames(
      activeUsernames: activeUsernames ?? this.activeUsernames,
      disabledUsernames: disabledUsernames ?? this.disabledUsernames,
      editableUsername: editableUsername ?? this.editableUsername,
    );