LabelDescriptor class

A description of a label.

Constructors

LabelDescriptor({Input<String>? description, Input<String>? key, Input<LabelDescriptorValueType>? valueType})
Creates a new LabelDescriptor. description A human-readable description for the label. key The key for this label. The key must meet the following criteria: Does not exceed 100 characters. Matches the following regular expression: a-zA-Z0-9_* The first character must be an upper- or lower-case letter. The remaining characters must be letters, digits, or underscores. valueType The type of data that can be assigned to the label.
const
LabelDescriptor.fromMap(Map<String, dynamic> map)
factory

Properties

description → Input<String>?
A human-readable description for the label.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Input<String>?
The key for this label. The key must meet the following criteria: Does not exceed 100 characters. Matches the following regular expression: a-zA-Z0-9_* The first character must be an upper- or lower-case letter. The remaining characters must be letters, digits, or underscores.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
valueType → Input<LabelDescriptorValueType>?
The type of data that can be assigned to the label.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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