FacetAttributeDefinition class
A facet attribute definition. See Attribute References for more information.
Constructors
-
FacetAttributeDefinition({required FacetAttributeType type, TypedAttributeValue? defaultValue, bool? isImmutable, Map<
String, Rule> ? rules}) -
FacetAttributeDefinition.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
-
rules
→ Map<
String, Rule> ? -
Validation rules 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