hasPermission
Determines whether the app has been granted with a permission or not.
Parameters
permission
The name of the permission to check.
Determines whether the app has been granted with a permission or not.
The name of the permission to check.