FieldMetadata class

The metadata describing an issue field.

Constructors

FieldMetadata({List? allowedValues, String? autoCompleteUrl, Map<String, dynamic>? configuration, dynamic defaultValue, bool? hasDefaultValue, required String key, required String name, required List<String> operations, required bool required, required JsonTypeBean schema})
FieldMetadata.fromJson(Map<String, Object?> json)
factory

Properties

allowedValues List
The list of values allowed in the field.
final
autoCompleteUrl String?
The URL that can be used to automatically complete the field.
final
configuration Map<String, dynamic>?
The configuration properties.
final
defaultValue → dynamic
The default value of the field.
final
hasDefaultValue bool
Whether the field has a default value.
final
hashCode int
The hash code for this object.
no setterinherited
key String
The key of the field.
final
name String
The name of the field.
final
operations List<String>
The list of operations that can be performed on the field.
final
required bool
Whether the field is required.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema JsonTypeBean
The data type of the field.
final

Methods

copyWith({List? allowedValues, String? autoCompleteUrl, Map<String, dynamic>? configuration, dynamic defaultValue, bool? hasDefaultValue, String? key, String? name, List<String>? operations, bool? required, JsonTypeBean? schema}) FieldMetadata
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited