dvStudioComponentPropsOf function

List<DVStudioComponentProp> dvStudioComponentPropsOf(
  1. DVPageDocument component
)

The props component takes, in the order they were added.

Implementation

List<DVStudioComponentProp> dvStudioComponentPropsOf(DVPageDocument component) =>
    <DVStudioComponentProp>[
      for (final Object? raw
          in (component.root.properties[_propsKey] as List?) ?? const <Object?>[])
        ?DVStudioComponentProp.fromJson(raw),
    ];