NSFontCollectionIncludeDisabledFontsOption property

DartCADynamicRange get NSFontCollectionIncludeDisabledFontsOption

Implementation

DartNSFontCollectionMatchingOptionKey
get NSFontCollectionIncludeDisabledFontsOption =>
    objc.NSString.castFromPointer(
      _NSFontCollectionIncludeDisabledFontsOption.value,
      retain: true,
      release: true,
    );
set NSFontCollectionIncludeDisabledFontsOption (DartNSFontCollectionMatchingOptionKey value)

Implementation

set NSFontCollectionIncludeDisabledFontsOption(
  DartNSFontCollectionMatchingOptionKey value,
) {
  objc.NSString.castFromPointer(
    _NSFontCollectionIncludeDisabledFontsOption.value,
    retain: false,
    release: true,
  ).ref.release();
  _NSFontCollectionIncludeDisabledFontsOption.value = value.ref
      .retainAndReturnPointer();
}