Variant constructor

Variant({
  1. int? id,
  2. String? name,
  3. dynamic code,
  4. String? slug,
  5. bool? active,
  6. bool? isDefault,
  7. List<String>? options,
})

Implementation

Variant({
    this.id,
    this.name,
    this.code,
    this.slug,
    this.active,
    this.isDefault,
    this.options,
});