Permission class

A Permissions resource represents some extra capability, to be granted to an Android app, which requires explicit consent.

An enterprise admin must consent to these permissions on behalf of their users before an entitlement for the app can be created. The permissions collection is read-only. The information provided for each permission (localized name and description) is intended to be used in the MDM user interface when obtaining consent from the enterprise.

Constructors

Permission({String? description, String? name, String? permissionId})
Permission.fromJson(Map json_)

Properties

description String?
A longer description of the Permissions resource, giving more details of what it affects.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the permission.
getter/setter pair
permissionId String?
An opaque string uniquely identifying the permission.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited