Dart Documentationchrome.notificationsPermissionLevel

PermissionLevel class

class PermissionLevel extends ChromeEnum {
 static const PermissionLevel GRANTED = const PermissionLevel._('granted');
 static const PermissionLevel DENIED = const PermissionLevel._('denied');

 static const List<PermissionLevel> VALUES = const[GRANTED, DENIED];

 const PermissionLevel._(String str): super(str);
}

Extends

ChromeEnum > PermissionLevel

Static Properties

const PermissionLevel DENIED #

static const PermissionLevel DENIED = const PermissionLevel._('denied')

const PermissionLevel GRANTED #

static const PermissionLevel GRANTED = const PermissionLevel._('granted')

const List<PermissionLevel> VALUES #

static const List<PermissionLevel> VALUES = const[GRANTED, DENIED]

Properties

final String value #

inherited from ChromeEnum
final String value

Methods

String toString() #

inherited from ChromeEnum

Returns a string representation of this object.

docs inherited from Object
String toString() => value;