IrInstanceRef class

Marks a node as an occurrence of component, in the variant selected by props (empty for components without variants).

Constructors

IrInstanceRef(String component, [Map<String, String>? props])

Properties

component → String
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
Identifies the variant across the document.
no setter
props → Map<String, String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
variantName → String
Figma-style variant name: Type=Filled, State=Enabled.
no setter

Methods

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

Operators

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

Static Methods

fromJson(Object? json) → IrInstanceRef?