fromJson static method

DetectFacesRequest? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.tag = jsonObject["tag"];
  result.scenario = jsonObject["scenario"];
  result.image = jsonObject["image"];
  result.configuration =
      DetectFacesConfiguration.fromJson(jsonObject["configuration"]);

  return result;
}