stringByFoldingWithOptions method
stringByFoldingWithOptions:locale:
Implementation
NSString stringByFoldingWithOptions(int options, {NSLocale? locale}) {
objc.checkOsVersionInternal(
'NSString.stringByFoldingWithOptions:locale:',
iOS: (false, (2, 0, 0)),
macOS: (false, (10, 5, 0)),
);
final $ret = _objc_msgSend_11cbyu0(
object$.ref.pointer,
_sel_stringByFoldingWithOptions_locale_,
options,
locale?.ref.pointer ?? ffi.nullptr,
);
return NSString.fromPointer($ret, retain: true, release: true);
}