bestRepresentationForDevice method
bestRepresentationForDevice:
Implementation
NSImageRep bestRepresentationForDevice(objc.NSDictionary deviceDescription) {
objc.checkOsVersionInternal(
'NSImage.bestRepresentationForDevice:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
final _ret = _objc_msgSend_1sotr3r(
this.ref.pointer,
_sel_bestRepresentationForDevice_,
deviceDescription.ref.pointer,
);
return NSImageRep.castFromPointer(_ret, retain: true, release: true);
}