NSKeywordsDocumentAttribute property

DartCADynamicRange get NSKeywordsDocumentAttribute

Implementation

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

Implementation

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