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._verified = jsonObject["verified"];
  result._person = Person.fromJson(jsonObject["person"]);
  result._match = VerificationMatchResponse.fromJson(jsonObject["match"]);

  return result;
}