Dart Documentationchrome.src.common_expChromeEnum

ChromeEnum abstract class

The abstract superclass of Chrome enums.

abstract class ChromeEnum {
 final String value;

 const ChromeEnum(this.value);

 String toString() => value;
}

Subclasses

DangerType, EjectDeviceResultCode, FilenameConflictAction, HttpMethod, InterruptReason, Level, PermissionLevel, State, StorageUnitType, TabCaptureState, TemplateType

Constructors

const ChromeEnum(String value) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
const ChromeEnum(this.value);

Properties

final String value #

final String value

Methods

String toString() #

Returns a string representation of this object.

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