copyWith method

UserPickerUser copyWith({
  1. String? accountId,
  2. String? avatarUrl,
  3. String? displayName,
  4. String? html,
  5. String? key,
  6. String? name,
})

Implementation

UserPickerUser copyWith(
    {String? accountId,
    String? avatarUrl,
    String? displayName,
    String? html,
    String? key,
    String? name}) {
  return UserPickerUser(
    accountId: accountId ?? this.accountId,
    avatarUrl: avatarUrl ?? this.avatarUrl,
    displayName: displayName ?? this.displayName,
    html: html ?? this.html,
    key: key ?? this.key,
    name: name ?? this.name,
  );
}