ProductPermission class

A product permissions resource represents the set of permissions required by a specific app and whether or not they have been accepted by an enterprise admin.

The API can be used to read the set of permissions, and also to update the set to indicate that permissions have been accepted.

Constructors

ProductPermission({String? permissionId, String? state})
ProductPermission.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
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
state String?
Whether the permission has been accepted or not. Possible string values are:
getter/setter pair

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