KeyPair.fromJson constructor

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

Implementation

factory KeyPair.fromJson(Map<String, dynamic> json) {
  return KeyPair(
    privateKey: json['PrivateKey'] as String?,
    publicKey: json['PublicKey'] as String?,
  );
}