Product constructor

Product({
  1. required _ProductObject object,
  2. required String id,
  3. required bool active,
  4. String? description,
  5. Map<String, dynamic>? metadata,
  6. required String name,
})

Implementation

Product({
  required this.object,
  required this.id,
  required this.active,
  this.description,
  this.metadata,
  required this.name,
});