ModelAnatomyAttribute class
Describes a single anatomy attribute inside a Figma component.
- Annotations
Constructors
- ModelAnatomyAttribute({required String title, String description = '', double value = 0.1})
-
const
-
ModelAnatomyAttribute.fromJson(Map<
String, dynamic> ? json) -
Creates an instance from a JSON map.
factory
Properties
- description → String
-
Optional extended description.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Visible name of the anatomy entry.
final
- value → double
-
Associated value (for example, a relative percentage in the 0.0–1.0 range).
final
Methods
-
copyWith(
{String? title, String? description, double? value}) → ModelAnatomyAttribute - Returns a copy with the provided overrides.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes the attribute into JSON.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override