isRestricted property

Future<bool> get isRestricted

If the OS denied access to the requested feature. The user cannot change this app's status, possibly due to active restrictions such as parental controls being in place.

Only supported on iOS.

Implementation

Future<bool> get isRestricted async => (await this).isRestricted;