isWalletExist function

bool isWalletExist({
  1. required String path,
})

Implementation

bool isWalletExist({required String path}) {
  final pathPointer = path.toNativeUtf8().cast<Char>();
  final isExist = monero_flutter.bindings.is_wallet_exist(pathPointer);

  calloc.free(pathPointer);

  return isExist;
}