FootballPlayerCompanion.insert constructor

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

Implementation

FootballPlayerCompanion.insert({
  this.id = const Value.absent(),
  required String fullName,
  required DateTime birthday,
  required String countryId,
  this.imagePath = const Value.absent(),
  this.description = const Value.absent(),
}) : fullName = Value(fullName),
     birthday = Value(birthday),
     countryId = Value(countryId);