EncryptedCast.fromJson constructor
Read this payload from a decoded JSON object.
Implementation
factory EncryptedCast.fromJson(Map<String, dynamic> json) => EncryptedCast(
sealed: json['sealed'] == null
? null
: SealedPayload.fromJson(json['sealed'] as Map<String, dynamic>),
encrypted: json['encrypted'] == null
? null
: EncryptedBallot.fromJson(
json['encrypted'] as Map<String, dynamic>),
tag: json['tag'] as String,
attestation: json['attestation'] as String,
);