get static method
Get a localization based on code
and country
.
Throws an AssertionError
if code
is null
Implementation
static Localization? get({
required String code,
String? country,
}) =>
getByLocale(Locale(code, country?.toUpperCase()));