NSGraphicsContextDestinationAttributeName property

DartCADynamicRange get NSGraphicsContextDestinationAttributeName

Implementation

DartNSGraphicsContextAttributeKey
get NSGraphicsContextDestinationAttributeName =>
    objc.NSString.castFromPointer(
      _NSGraphicsContextDestinationAttributeName.value,
      retain: true,
      release: true,
    );
set NSGraphicsContextDestinationAttributeName (DartNSGraphicsContextAttributeKey value)

Implementation

set NSGraphicsContextDestinationAttributeName(
  DartNSGraphicsContextAttributeKey value,
) {
  objc.NSString.castFromPointer(
    _NSGraphicsContextDestinationAttributeName.value,
    retain: false,
    release: true,
  ).ref.release();
  _NSGraphicsContextDestinationAttributeName.value = value.ref
      .retainAndReturnPointer();
}