ProductCompanion.insert constructor
ProductCompanion.insert({})
Implementation
ProductCompanion.insert({
this.id = const Value.absent(),
required String name,
required double price,
required bool active,
this.imagePath = const Value.absent(),
required int categoryId,
required double estimatedInputPrice,
required double taxRate,
this.description = const Value.absent(),
}) : name = Value(name),
price = Value(price),
active = Value(active),
categoryId = Value(categoryId),
estimatedInputPrice = Value(estimatedInputPrice),
taxRate = Value(taxRate);