authorized property

bool authorized

Returns true if the permission is authorized.

Implementation

bool get authorized =>
    this == PermissionStatus.authorizedAlways ||
    this == PermissionStatus.authorizedWhenInUse;