fromJson static method
Implementation
@visibleForTesting
static DetectFacesRequest? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = DetectFacesRequest._privateConstructor();
result._tag = jsonObject["tag"];
result._scenario = DetectFacesScenario.getByValue(jsonObject["scenario"]);
result._image = _bytesFromBase64(jsonObject["image"])!;
result._configuration =
DetectFacesConfig.fromJson(jsonObject["configuration"]);
return result;
}