ContentsquareJavascriptChannel class
Represent an communication channel used to send messages from the webview to the SDK.
Constructors
- ContentsquareJavascriptChannel({required String name, required void onMessageReceived(String message)})
- Builds a ContentsquareJavascriptChannel
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the channel.
final
- onMessageReceived → void Function(String message)
-
The callback which will be called when a message is sent from the webview.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited