compare$3 method

NSComparisonResult compare$3(
  1. NSString string, {
  2. required int options,
  3. required NSRange range,
  4. ObjCObject? locale,
})

compare:options:range:locale:

Implementation

NSComparisonResult compare$3(
  NSString string, {
  required int options,
  required NSRange range,
  objc.ObjCObject? locale,
}) {
  final $ret = _objc_msgSend_1895u4n(
    object$.ref.pointer,
    _sel_compare_options_range_locale_,
    string.ref.pointer,
    options,
    range,
    locale?.ref.pointer ?? ffi.nullptr,
  );
  return NSComparisonResult.fromValue($ret);
}