SongCompanion.insert constructor
SongCompanion.insert({
- Value<
int> id = const Value.absent(), - required String name,
- required bool locked,
- required bool published,
- Value<
String?> imagePath = const Value.absent(), - Value<
String?> description = const Value.absent(), - Value<
String?> note = const Value.absent(), - Value<
String?> youtubeCode = const Value.absent(), - Value<
String?> youtubeVideoInfo = const Value.absent(), - required int albumId,
Implementation
SongCompanion.insert({
this.id = const Value.absent(),
required String name,
required bool locked,
required bool published,
this.imagePath = const Value.absent(),
this.description = const Value.absent(),
this.note = const Value.absent(),
this.youtubeCode = const Value.absent(),
this.youtubeVideoInfo = const Value.absent(),
required int albumId,
}) : name = Value(name),
locked = Value(locked),
published = Value(published),
albumId = Value(albumId);