toCompanion method
Implementation
FootballPlayerCompanion toCompanion(bool nullToAbsent) {
return FootballPlayerCompanion(
id: Value(id),
fullName: Value(fullName),
birthday: Value(birthday),
countryId: Value(countryId),
imagePath: imagePath == null && nullToAbsent
? const Value.absent()
: Value(imagePath),
description: description == null && nullToAbsent
? const Value.absent()
: Value(description),
);
}