fromJson static method

MatchFacesRequest? fromJson(
  1. dynamic jsonObject
)

Implementation

static MatchFacesRequest? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new MatchFacesRequest();

  if (jsonObject["images"] != null)
    for (var item in jsonObject["images"])
      result.images.add(MatchFacesImage.fromJson(item));
  result.customMetadata = jsonObject["customMetadata"];
  result.thumbnails = jsonObject["thumbnails"];

  return result;
}