buildSettingSourcesProperties function

List<StatusProperty> buildSettingSourcesProperties(
  1. List<String> sourceNames
)

Build setting sources properties.

Implementation

List<StatusProperty> buildSettingSourcesProperties(List<String> sourceNames) {
  if (sourceNames.isEmpty) return [];
  return [StatusProperty(label: NeomageTranslationConstants.settingSources.tr, value: sourceNames)];
}