MParam constructor

const MParam({
  1. required String key,
  2. required String label,
  3. MParamType type = MParamType.text,
  4. Object? defaultValue,
  5. List<String>? choices,
})

Implementation

const MParam({
  required this.key,
  required this.label,
  this.type = MParamType.text,
  this.defaultValue,
  this.choices,
});