Metadata constructor

const Metadata({
  1. required String key,
  2. required String label,
  3. required String description,
  4. required String category,
  5. required String scope,
  6. required bool isToggle,
  7. MetadataUnitUnit? unit,
  8. num? min,
  9. num? max,
})

Implementation

const Metadata({
  required this.key,
  required this.label,
  required this.description,
  required this.category,
  required this.scope,
  required this.isToggle,
  this.unit,
  this.min,
  this.max,
});