decodeDictionaryWithKeysOfClass method
NSDictionary?
decodeDictionaryWithKeysOfClass(
- ObjCObjectBase keyCls, {
- required ObjCObjectBase objectsOfClass,
- required NSString forKey,
decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:
Implementation
objc.NSDictionary? decodeDictionaryWithKeysOfClass(
objc.ObjCObjectBase keyCls, {
required objc.ObjCObjectBase objectsOfClass,
required objc.NSString forKey,
}) {
objc.checkOsVersionInternal(
'NSCoder.decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:',
iOS: (false, (14, 0, 0)),
macOS: (false, (11, 0, 0)),
);
final _ret = _objc_msgSend_11spmsz(
this.ref.pointer,
_sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_,
keyCls.ref.pointer,
objectsOfClass.ref.pointer,
forKey.ref.pointer,
);
return _ret.address == 0
? null
: objc.NSDictionary.castFromPointer(_ret, retain: true, release: true);
}