FieldMetadata class

The metadata describing an issue field.

Constructors

FieldMetadata({required bool required, required Map<String, dynamic> schema, required String name, required String key, String? autoCompleteUrl, bool? hasDefaultValue, required List<String> operations, List? allowedValues, dynamic defaultValue, Map<String, dynamic>? configuration})
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 Map<String, dynamic>
The data type of the field.
final

Methods

copyWith({bool? required, Map<String, dynamic>? schema, String? name, String? key, String? autoCompleteUrl, bool? hasDefaultValue, List<String>? operations, List? allowedValues, dynamic defaultValue, Map<String, dynamic>? configuration}) 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