NSFileProtectionCompleteWhenUserInactive property

DartCADynamicRange get NSFileProtectionCompleteWhenUserInactive

Implementation

DartNSFileProtectionType get NSFileProtectionCompleteWhenUserInactive =>
    objc.NSString.castFromPointer(
      _NSFileProtectionCompleteWhenUserInactive.value,
      retain: true,
      release: true,
    );
set NSFileProtectionCompleteWhenUserInactive (DartNSFileProtectionType value)

Implementation

set NSFileProtectionCompleteWhenUserInactive(DartNSFileProtectionType value) {
  objc.NSString.castFromPointer(
    _NSFileProtectionCompleteWhenUserInactive.value,
    retain: false,
    release: true,
  ).ref.release();
  _NSFileProtectionCompleteWhenUserInactive.value = value.ref
      .retainAndReturnPointer();
}