NSLeftMarginDocumentAttribute property

DartCADynamicRange get NSLeftMarginDocumentAttribute

Implementation

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

Implementation

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