CallAsyncJavaScriptResult class Null safety

Class that represents either a success or a failure, including an associated value in each case for InAppWebViewController.callAsyncJavaScript.

Constructors

CallAsyncJavaScriptResult({dynamic value, String? error})

Properties

error String?
It contains the failure value.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value ↔ dynamic
It contains the success value.
read / write

Methods

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

Operators

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