copyWith method
Implementation
FootballPlayerData copyWith({
int? id,
String? fullName,
DateTime? birthday,
String? countryId,
Value<String?> imagePath = const Value.absent(),
Value<String?> description = const Value.absent(),
}) => FootballPlayerData(
id: id ?? this.id,
fullName: fullName ?? this.fullName,
birthday: birthday ?? this.birthday,
countryId: countryId ?? this.countryId,
imagePath: imagePath.present ? imagePath.value : this.imagePath,
description: description.present ? description.value : this.description,
);