ComponentProperty class

Component properties.

Available Extensions
Annotations
  • @JsonSerializable()
  • @CopyWith()

Constructors

ComponentProperty({required String type, required dynamic value, List<InstanceSwapPreferredValue>? preferredValues})
ComponentProperty.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
preferredValues List<InstanceSwapPreferredValue>?
List of user-defined preferred values for this property. Only exists on INSTANCE_SWAP properties.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of the property.
final
value → dynamic
Value of this property for instances. Either a string or a boolean.
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