getLocaleString static method

String getLocaleString()

Returns the global locale string (e.g. 'pt_BR')

Implementation

static String getLocaleString() =>
    '${getLanguage().code}'
    '_'
    '${getCountry().offTag.toUpperCase()}';