FingerprintJSProResponse.fromJson constructor

FingerprintJSProResponse.fromJson(
  1. Map<String, dynamic> json,
  2. String requestId,
  3. num confidence,
  4. String? sealedResult,
)

Creates class instance from JSON Object that can be returned by Android or iOS agent, or can be a serialization result

Implementation

FingerprintJSProResponse.fromJson(Map<String, dynamic> json, this.requestId,
    num confidence, this.sealedResult)
    : visitorId = json['visitorId'],
      confidenceScore = ConfidenceScore(confidence);