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