semanticTypeLabel method

String semanticTypeLabel(
  1. AssetType type
)

Implementation

String semanticTypeLabel(AssetType type) {
  return switch (type) {
    AssetType.audio => sTypeAudioLabel,
    AssetType.image => sTypeImageLabel,
    AssetType.video => sTypeVideoLabel,
    AssetType.other => sTypeOtherLabel,
  };
}