getLocaleString method Null safety

String getLocaleString()

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

Implementation

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