loadWallet method
Implementation
@override
Future<bool> loadWallet() async {
StoredKey storedKey = StoredKey();
final directory = await getApplicationDocumentsDirectory();
if (StoredKey.load("${directory.path}/wallet") != null) {
myWallet = storedKey.wallet(walletPassword)!;
return true;
}
return false;
}