ComponentSpec constructor
ComponentSpec(
- String type, {
- Map<
String, PropertyValue> ? properties,
Creates a component of the given type with optional properties.
Implementation
ComponentSpec(this.type, {Map<String, PropertyValue>? properties})
: properties = properties ?? {};