menu
flutter_js_stable package
documentation
javascript_runtime.dart
JavascriptRuntime
onMessage method
onMessage method
dark_mode
light_mode
onMessage
method
dynamic
onMessage
(
String
channelName
,
dynamic
fn
(
dynamic
args
)
)
Implementation
onMessage(
String
channelName,
dynamic
Function
(
dynamic
args) fn) { setupBridge(channelName, fn); }
flutter_js_stable package
documentation
javascript_runtime
JavascriptRuntime
onMessage method
JavascriptRuntime class
Constructors
new
Properties
dartContext
hashCode
localContext
runtimeType
Methods
callFunction
clearXhrPendingCalls
(ext)
convertValue
dispose
enableFetch
(ext)
enableHandlePromises
(ext)
enableXhr
(ext)
evaluate
evaluateAsync
executePendingJob
getEngineInstanceId
getPendingXhrCalls
(ext)
handlePromise
(ext)
hasPendingXhrCalls
(ext)
init
initChannelFunctions
isFulfilledPromise
(ext)
isPendingPromise
(ext)
jsonStringify
noSuchMethod
onMessage
sendMessage
setInspectable
setupBridge
toString
Operators
operator ==
Static properties
channelFunctionsRegistered
debugEnabled