ColorModel constructor Null safety

ColorModel(
  1. {int? id,
  2. String? name,
  3. String? title,
  4. String? hexa,
  5. bool? isOutOfStock}
)

Implementation

ColorModel({
  this.id,
  this.name,
  this.title,
  this.hexa,
  this.isOutOfStock,
});