AttributeMetadata class

Metadata for an attribute.

Contains display information for the attribute, including a localized name and a heading for grouping related attributes together.

Constructors

AttributeMetadata({bool? deprecated, String? displayName, String? groupDisplayName, String? parent, bool? repeatable, List<AttributeValueMetadata>? valueMetadata, String? valueType})
AttributeMetadata.fromJson(Map json_)

Properties

deprecated bool?
If true, the attribute is deprecated and should no longer be used.
getter/setter pair
displayName String?
The localized display name for the attribute, if available; otherwise, the English display name.
getter/setter pair
groupDisplayName String?
The localized display name of the group that contains this attribute, if available; otherwise, the English group name.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
parent String?
The unique identifier for the attribute.
getter/setter pair
repeatable bool?
If true, the attribute supports multiple values.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueMetadata List<AttributeValueMetadata>?
For some types of attributes (for example, enums), a list of supported values and corresponding display names for those values is provided.
getter/setter pair
valueType String?
The value type for the attribute.
getter/setter pair

Methods

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

Operators

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