KeyPoint constructor

KeyPoint(
  1. {required BodyPart bodyPart,
  2. @JsonKey(fromJson: Converter.offsetFromJson, toJson: Converter.offsetToJson) required Offset coordinate,
  3. required double score}
)

Implementation

factory KeyPoint({
  required BodyPart bodyPart,
  @JsonKey(
    fromJson: Converter.offsetFromJson,
    toJson: Converter.offsetToJson,
  )
  required Offset coordinate,
  required double score,
}) = _KeyPoint;