items property

List<SceneItem> get items

The declared items, for a SceneParamKind.list — the mockup standing in for the data until a caller passes its own.

Implementation

List<SceneItem> get items => switch (kind) {
  SceneParamKind.list => (defaultValue as List).cast<SceneItem>(),
  _ => const [],
};