fromJSON static method

KeyPairUpdateNotification fromJSON(
  1. Map<String, dynamic> data
)

Implementation

static KeyPairUpdateNotification fromJSON(Map<String, dynamic> data) {
	return KeyPairUpdateNotification(
		newPublicKey: CardinalRsaPublicKey.fromSpkiHex(data["newPublicKey"]),
		concernedDataOwnerId: (data["concernedDataOwnerId"] as String)
	);
}