AltchaServerVerification.fromJson constructor

AltchaServerVerification.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AltchaServerVerification.fromJson(Map<String, dynamic> json) {
  return AltchaServerVerification(
    algorithm: json['algorithm'] as String,
    apiKey: json['apiKey'] as String,
    id: json['id'] as String,
    payload: json['payload'] as String,
    score: json['score'] as num,
    signature: json['signature'] as String,
    verificationData: json['verificationData'] as String,
    verified: json['verified'] as bool,
  );
}