FigmaVariableMode class
Represents a mode within a variable collection.
A mode defines a specific state or theme (e.g., light mode, dark mode) where variables can have different values. This allows for maintaining multiple sets of values for the same variables.
Constructors
- FigmaVariableMode({required String modeId, required String name})
- Creates a new FigmaVariableMode instance.
-
FigmaVariableMode.fromJson(Map<
String, dynamic> json) -
Creates a FigmaVariableMode from a JSON map.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the mode to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited