ProductPermission class Null safety

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.
read-onlyinherited
permissionId String?
An opaque string uniquely identifying the permission.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
state String?
Whether the permission has been accepted or not. Possible string values are:
read / write

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