fromJson static method

FaceCaptureResponse? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.exception = FaceCaptureException.fromJson(jsonObject["exception"]);
  result.image = Image.fromJson(jsonObject["image"]);

  return result;
}