Permissions class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('Permissions')
  • @Experimental()

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

Permissions.internal_()

Properties

hashCodeint
read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

query(Map permission) → Future
@DocsEditable(), @DomName('Permissions.query'), @Experimental()
request(Map permissions) → Future
@DocsEditable(), @DomName('Permissions.request'), @Experimental()
requestAll(List<Map> permissions) → Future
@DocsEditable(), @DomName('Permissions.requestAll'), @Experimental()
revoke(Map permission) → Future
@DocsEditable(), @DomName('Permissions.revoke'), @Experimental()
noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

toString() → String
inherited

Returns the result of the JavaScript objects toString method.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Permissions-class.html