dictionaryWithObject static method

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

dictionaryWithObject:forKey:

Implementation

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