BookCompanion.insert constructor

BookCompanion.insert({
  1. Value<int> id = const Value.absent(),
  2. required String code,
  3. required String title,
  4. required int seqNum,
  5. required bool published,
  6. required bool locked,
  7. Value<String?> imagePath = const Value.absent(),
  8. Value<String?> description = const Value.absent(),
  9. Value<String?> note = const Value.absent(),
})

Implementation

BookCompanion.insert({
  this.id = const Value.absent(),
  required String code,
  required String title,
  required int seqNum,
  required bool published,
  required bool locked,
  this.imagePath = const Value.absent(),
  this.description = const Value.absent(),
  this.note = const Value.absent(),
}) : code = Value(code),
     title = Value(title),
     seqNum = Value(seqNum),
     published = Value(published),
     locked = Value(locked);