Verification.fromJson constructor

Verification.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory Verification.fromJson(Map<String, Object?> json) => Verification(
      transaction: Transaction.fromJson(
        (json["transaction"] as Map).cast<String, Object?>(),
      ),
      verificationAttempt: VerificationAttempt.fromJson(
        (json["verification_attempt"] as Map).cast<String, Object?>(),
      ),
    );