copyWith method

FootballPlayerCompanion copyWith({
  1. Value<int>? id,
  2. Value<String>? fullName,
  3. Value<DateTime>? birthday,
  4. Value<String>? countryId,
  5. Value<String?>? imagePath,
  6. Value<String?>? description,
})

Implementation

FootballPlayerCompanion copyWith({
  Value<int>? id,
  Value<String>? fullName,
  Value<DateTime>? birthday,
  Value<String>? countryId,
  Value<String?>? imagePath,
  Value<String?>? description,
}) {
  return FootballPlayerCompanion(
    id: id ?? this.id,
    fullName: fullName ?? this.fullName,
    birthday: birthday ?? this.birthday,
    countryId: countryId ?? this.countryId,
    imagePath: imagePath ?? this.imagePath,
    description: description ?? this.description,
  );
}