JavascriptDialogOpeningEvent class Null safety

Constructors

JavascriptDialogOpeningEvent({required String url, required String message, required DialogType type, required bool hasBrowserHandler, String? defaultPrompt})
JavascriptDialogOpeningEvent.fromJson(Map<String, dynamic> json)
factory

Properties

defaultPrompt String?
Default dialog prompt.
final
hasBrowserHandler bool
True iff browser is capable showing or acting on the given dialog. When browser has no dialog handler for given target, calling alert while Page domain is engaged will stall the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
message String
Message that will be displayed by the dialog.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type DialogType
Dialog type.
final
url String
Frame url.
final

Methods

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

Operators

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