copyWith method
BotProfile
copyWith(
{ - String? id,
- String? name,
- String? photo,
- int? age,
- String? gender,
- String? country,
- String? continent,
- String? speakingStyle,
- List<String>? languages,
- List<String>? interests,
- List<String>? personalityTraits,
- List<String>? favoriteTopics,
})
Implementation
BotProfile copyWith({
String? id,
String? name,
String? photo,
int? age,
String? gender,
String? country,
String? continent,
String? speakingStyle,
List<String>? languages,
List<String>? interests,
List<String>? personalityTraits,
List<String>? favoriteTopics,
ProfileExtra? extra,
}) => BotProfile(
id: id ?? this.id,
name: name ?? this.name,
photo: photo ?? this.photo,
age: age ?? this.age,
gender: gender ?? this.gender,
country: country ?? this.country,
continent: continent ?? this.continent,
speakingStyle: speakingStyle ?? this.speakingStyle,
languages: languages ?? this.languages,
interests: interests ?? this.interests,
personalityTraits: personalityTraits ?? this.personalityTraits,
favoriteTopics: favoriteTopics ?? this.favoriteTopics,
extra: extra ?? this.extra,
);