fromJson static method
Creates a UserSessionVerifiers from a JSON map.
Binary data should be base64-encoded strings in the JSON.
Example:
final decoded = jsonDecode(jsonString);
final verifiers = UserSessionVerifiers.fromJson(decoded);
Implementation
static UserSessionVerifiers fromJson(Map<String, dynamic> json) {
return UserSessionVerifiers(
userId: json['userId'] as String,
ephemeralUserPublicKey: base64.decode(json['ephemeralUserPublicKey'] as String),
sessionKeyVerifier: base64.decode(json['sessionKeyVerifier'] as String),
);
}