NSCategoryDocumentAttribute property

DartCADynamicRange get NSCategoryDocumentAttribute

Implementation

DartNSAttributedStringDocumentAttributeKey get NSCategoryDocumentAttribute =>
    objc.NSString.castFromPointer(
      _NSCategoryDocumentAttribute.value,
      retain: true,
      release: true,
    );
set NSCategoryDocumentAttribute (DartNSAttributedStringDocumentAttributeKey value)

Implementation

set NSCategoryDocumentAttribute(
  DartNSAttributedStringDocumentAttributeKey value,
) {
  objc.NSString.castFromPointer(
    _NSCategoryDocumentAttribute.value,
    retain: false,
    release: true,
  ).ref.release();
  _NSCategoryDocumentAttribute.value = value.ref.retainAndReturnPointer();
}