DialogType class Null safety

Javascript dialog type.

Constructors

DialogType.fromJson(String value)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override

Constants

alert → const DialogType
DialogType._('alert')
beforeunload → const DialogType
DialogType._('beforeunload')
confirm → const DialogType
DialogType._('confirm')
prompt → const DialogType
DialogType._('prompt')
values → const Map<String, DialogType>
{'alert' : alert, 'confirm' : confirm, 'prompt' : prompt, 'beforeunload' : beforeunload}