dictionaryWithObject static method

NSDictionary dictionaryWithObject(
  1. ObjCObject object, {
  2. required NSCopying forKey,
})

dictionaryWithObject:forKey:

Implementation

static NSDictionary dictionaryWithObject(
  objc.ObjCObject object, {
  required NSCopying forKey,
}) {
  final $ret = _objc_msgSend_15qeuct(
    _class_NSDictionary,
    _sel_dictionaryWithObject_forKey_,
    object.ref.pointer,
    forKey.ref.pointer,
  );
  return NSDictionary.fromPointer($ret, retain: true, release: true);
}