replaceOccurrencesOfString method

DartNSUInteger replaceOccurrencesOfString(
  1. NSString target, {
  2. required NSString withString,
  3. required NSStringCompareOptions options,
  4. required NSRange range,
})

replaceOccurrencesOfString:withString:options:range:

Implementation

DartNSUInteger replaceOccurrencesOfString(
  objc.NSString target, {
  required objc.NSString withString,
  required objc.NSStringCompareOptions options,
  required NSRange range,
}) {
  return _objc_msgSend_1upeo1d(
    this.ref.pointer,
    _sel_replaceOccurrencesOfString_withString_options_range_,
    target.ref.pointer,
    withString.ref.pointer,
    options.value,
    range,
  );
}