readInputFile method
Implementation
Future<Either<Exception, VaultStore>> readInputFile(String inputFile) async {
try {
final vaultStore = await dataApi.getMainKeyVaultStore(inputFile);
return Either.right(vaultStore);
} catch (e) {
return Either.left(
WalletApiFailure.failedToLoadWallet(context: e.toString()));
}
}