SchemaField constructor

const SchemaField({
  1. String? type,
  2. required String description,
  3. bool required = false,
  4. Object? defaultValue,
  5. String? group,
  6. String? dependsOn,
  7. num? min,
  8. num? max,
  9. num? step,
  10. List<String>? choices,
  11. bool deprecated = false,
  12. String scope = 'public',
})

Implementation

const SchemaField({
  this.type,
  required this.description,
  this.required = false,
  this.defaultValue,
  this.group,
  this.dependsOn,
  this.min,
  this.max,
  this.step,
  this.choices,
  this.deprecated = false,
  this.scope = 'public',
});