FieldMetadata constructor

FieldMetadata({
  1. List? allowedValues,
  2. String? autoCompleteUrl,
  3. Map<String, dynamic>? configuration,
  4. dynamic defaultValue,
  5. bool? hasDefaultValue,
  6. required String key,
  7. required String name,
  8. required List<String> operations,
  9. required bool required,
  10. required JsonTypeBean schema,
})

Implementation

FieldMetadata(
    {List<dynamic>? allowedValues,
    this.autoCompleteUrl,
    this.configuration,
    this.defaultValue,
    bool? hasDefaultValue,
    required this.key,
    required this.name,
    required this.operations,
    required this.required,
    required this.schema})
    : allowedValues = allowedValues ?? [],
      hasDefaultValue = hasDefaultValue ?? false;