fromJson static method

  1. @visibleForTesting
VerificationResponse? fromJson(
  1. dynamic jsonObject
)

Implementation

@visibleForTesting
static VerificationResponse? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new VerificationResponse._privateConstructor();

  result._passed = jsonObject["passed"];
  result._match = VerifyMatchResponse.fromJson(jsonObject["match"]);
  result._error = ErrorResponse.fromJson(jsonObject["error"]);

  return result;
}