v1ExportWalletIntent.fromJson constructor

v1ExportWalletIntent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory v1ExportWalletIntent.fromJson(Map<String, dynamic> json) {
  final _walletId = json['walletId'] as String;
  final _targetPublicKey = json['targetPublicKey'] as String;
  final _language = json['language'] == null ? null : v1MnemonicLanguageFromJson(json['language']);
  return v1ExportWalletIntent(
    walletId: _walletId,
    targetPublicKey: _targetPublicKey,
    language: _language,
  );
}