TypedLinkAttributeDefinition class

A typed link attribute definition.

Constructors

TypedLinkAttributeDefinition({required String name, required RequiredAttributeBehavior requiredBehavior, required FacetAttributeType type, TypedAttributeValue? defaultValue, bool? isImmutable, Map<String, Rule>? rules})
TypedLinkAttributeDefinition.fromJson(Map<String, dynamic> json)
factory

Properties

defaultValue TypedAttributeValue?
The default value of the attribute (if configured).
final
hashCode int
The hash code for this object.
no setterinherited
isImmutable bool?
Whether the attribute is mutable or not.
final
name String
The unique name of the typed link attribute.
final
requiredBehavior RequiredAttributeBehavior
The required behavior of the TypedLinkAttributeDefinition.
final
rules Map<String, Rule>?
Validation rules that are attached to the attribute definition.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type FacetAttributeType
The type of the attribute.
final

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