NSGraphicsContextRepresentationFormatAttributeName property

DartCADynamicRange get NSGraphicsContextRepresentationFormatAttributeName

Implementation

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

Implementation

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