getLanguageClass method

String getLanguageClass(
  1. String language
)

Returns the CSS class of the given language.

Implementation

String getLanguageClass(String language) => 'language-$language';