declaredProps function

List<String> declaredProps(
  1. Catalog catalog,
  2. String type
)

The declared prop keys of type in catalog (for messages).

Implementation

List<String> declaredProps(Catalog catalog, String type) => [for (final p in catalog.widget(type)?.props ?? const <PropDef<Object?>>[]) p.key];