Permission class Null safety

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.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
name String?
The name of the permission.
read / write
permissionId String?
An opaque string uniquely identifying the permission.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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