toFile method
Implementation
Future<String> toFile(String? passphrase,
[Map<String, dynamic>? options]) async {
try {
await this.encryptAccount(passphrase, options);
return json.encode(this.keyStoreMap);
} catch (e) {
rethrow;
}
}