localize method
- BuildContext context
get country name for specific locale
Implementation
ArisCountryCodeItem localize(BuildContext context) {
return this..name = ArisCountryLocalizations.of(context)?.translate(this.code) ?? this.name;
}
get country name for specific locale
ArisCountryCodeItem localize(BuildContext context) {
return this..name = ArisCountryLocalizations.of(context)?.translate(this.code) ?? this.name;
}