localizedStringForCountryCode method
NSString?
localizedStringForCountryCode(
- NSString countryCode$1
localizedStringForCountryCode:
Implementation
objc.NSString? localizedStringForCountryCode(objc.NSString countryCode$1) {
objc.checkOsVersionInternal(
'NSLocale.localizedStringForCountryCode:',
iOS: (false, (10, 0, 0)),
macOS: (false, (10, 12, 0)),
);
final _ret = _objc_msgSend_1sotr3r(
this.ref.pointer,
_sel_localizedStringForCountryCode_,
countryCode$1.ref.pointer,
);
return _ret.address == 0
? null
: objc.NSString.castFromPointer(_ret, retain: true, release: true);
}