KeyPairUpdateNotification.fromJSON constructor

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

Implementation

factory KeyPairUpdateNotification.fromJSON(Map<String, dynamic> data) {
	return KeyPairUpdateNotification(
		(data["newPublicKey"] as SpkiHexString),
		(data["concernedDataOwnerId"] as String)
	);
}