Face.fromJson constructor

Face.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Face.fromJson(Map<String, dynamic> json) {
  this.x = json["x"];
  this.y = json["y"];
  this.width = json["width"];
  this.height = json["height"];
  this.yaw = json["yaw"];
  this.pitch = json["pitch"];
  this.roll = json["roll"];
  this.leftEye = json["leftEye"].cast<num>();
  this.data = json["data"];
  this.rightEye = json["rightEye"].cast<num>();
  this.quality = json["quality"];
  this.faceTemplate = FaceTemplate.fromJson(json["faceTemplate"]);
}