NSImageFrameCount property

DartCADynamicRange get NSImageFrameCount

Implementation

DartNSBitmapImageRepPropertyKey get NSImageFrameCount =>
    objc.NSString.castFromPointer(
      _NSImageFrameCount.value,
      retain: true,
      release: true,
    );
set NSImageFrameCount (DartNSBitmapImageRepPropertyKey value)

Implementation

set NSImageFrameCount(DartNSBitmapImageRepPropertyKey value) {
  objc.NSString.castFromPointer(
    _NSImageFrameCount.value,
    retain: false,
    release: true,
  ).ref.release();
  _NSImageFrameCount.value = value.ref.retainAndReturnPointer();
}