v1ExportPrivateKeyIntent.fromJson constructor

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

Implementation

factory v1ExportPrivateKeyIntent.fromJson(Map<String, dynamic> json) {
  final _privateKeyId = json['privateKeyId'] as String;
  final _targetPublicKey = json['targetPublicKey'] as String;
  return v1ExportPrivateKeyIntent(
    privateKeyId: _privateKeyId,
    targetPublicKey: _targetPublicKey,
  );
}