FaceMeshPoint.fromJson constructor

FaceMeshPoint.fromJson(
  1. Map json
)

Returns an instance of FaceMeshPoint from a given json.

Implementation

factory FaceMeshPoint.fromJson(Map<dynamic, dynamic> json) => FaceMeshPoint(
      index: json['index'],
      x: json['x'],
      y: json['y'],
      z: json['z'],
    );