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