stringByAddingPercentEncodingWithAllowedCharacters method
stringByAddingPercentEncodingWithAllowedCharacters:
Implementation
objc.NSString? stringByAddingPercentEncodingWithAllowedCharacters(objc.NSCharacterSet allowedCharacters) {
objc.checkOsVersionInternal('NSString.stringByAddingPercentEncodingWithAllowedCharacters:', iOS: (false, (7, 0, 0)), macOS: (false, (10, 9, 0)));
final $ret = _objc_msgSend_1sotr3r(object$.ref.pointer, _sel_stringByAddingPercentEncodingWithAllowedCharacters_, allowedCharacters.ref.pointer);
return $ret.address == 0 ? null : objc.NSString.fromPointer($ret, retain: true, release: true);
}