restoreJson method

Future restoreJson(
  1. Map<String, dynamic> file,
  2. String password
)

Implementation

Future<dynamic> restoreJson(
  Map<String, dynamic> file, String password) async {
return await _jsApi.jsPromise(
    'window.keyring.restoreJson(${jsonEncode(file)},"$password")');
  }