getLocalContentList static method

List<ContentStoreItem> getLocalContentList(
  1. ContentType type
)

Gets access to the installed content list.

Parameters

Returns

  • List of content store items

Throws

  • An exception if it fails to initialize.

Implementation

static List<ContentStoreItem> getLocalContentList(final ContentType type) {
  final OperationResult resultString = objectMethod(
    0,
    'ContentStore',
    'getLocalContentList',
    args: type.id,
  );

  return ContentStoreItemList.init(resultString['result'], 0).toList();
}