WalletSDK class
SDK launchs a hidden webView to run polkadot.js/api for interacting with the substrate-based block-chain network.
Constructors
Properties
- api ↔ Web3WalletApi
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webView → WebViewRunner?
-
webView instance, this is the only instance of FlutterWebViewPlugin
in App, we need to get it and reuse in other sdk.
no setter
Methods
-
init(
Keyring keyring, {WebViewRunner? webView, String? jsCode}) → Future< void> -
param
jsCode
is customized js code of parachain, the api works withoutjsCode
param in Kusama/Polkadot. -
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