createWallet property
create a new wallet
return the Wallet
object that contain the privateKey
and address
final wallet = await FlutterIconNetwork.instance.createWallet;
Implementation
Future<Wallet> get createWallet async {
final String wallet = await _channel
.invokeMethod('createWallet', {"host": host, "network_id": _networkId});
print("FlutterIconNetwork createWallet $wallet");
return walletFromJson(wallet);
}