toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (publicKey != null) {
    json[r'publicKey'] = publicKey;
  }
  json[r'hcPartyKeys'] = hcPartyKeys;
  json[r'privateKeyShamirPartitions'] = privateKeyShamirPartitions;
  json[r'aesExchangeKeys'] = aesExchangeKeys;
  json[r'transferKeys'] = transferKeys;
  json[r'lostHcPartyKeys'] = lostHcPartyKeys;
  return json;
}