PoseLandmark.fromMap constructor

PoseLandmark.fromMap(
  1. Map<Object?, Object?> map
)

Implementation

factory PoseLandmark.fromMap(Map<Object?, Object?> map) {
  return PoseLandmark(
    inFrameLikelihood: map['inFrameLikelihood'] as double,
    position: Point3d.fromMap(map['position'] as Map<Object?, Object?>),
    type: PoseLandmarkTypeExtension.fromId(map['type'] as int),
  );
}