NSDefaultAttributesDocumentOption property

DartCADynamicRange get NSDefaultAttributesDocumentOption

Implementation

DartNSAttributedStringDocumentReadingOptionKey
get NSDefaultAttributesDocumentOption => objc.NSString.castFromPointer(
  _NSDefaultAttributesDocumentOption.value,
  retain: true,
  release: true,
);
set NSDefaultAttributesDocumentOption (DartNSAttributedStringDocumentReadingOptionKey value)

Implementation

set NSDefaultAttributesDocumentOption(
  DartNSAttributedStringDocumentReadingOptionKey value,
) {
  objc.NSString.castFromPointer(
    _NSDefaultAttributesDocumentOption.value,
    retain: false,
    release: true,
  ).ref.release();
  _NSDefaultAttributesDocumentOption.value = value.ref
      .retainAndReturnPointer();
}