copyWith method

Pose copyWith({
  1. List<double>? head,
  2. List<double>? body,
  3. List<double>? lleg,
  4. List<double>? rleg,
  5. List<double>? larm,
  6. List<double>? rarm,
})

Implementation

Pose copyWith({
  List<double>? head,
  List<double>? body,
  List<double>? lleg,
  List<double>? rleg,
  List<double>? larm,
  List<double>? rarm,
}) {
  return Pose(
    head: head ?? this.head,
    body: body ?? this.body,
    lleg: lleg ?? this.lleg,
    rleg: rleg ?? this.rleg,
    larm: larm ?? this.larm,
    rarm: rarm ?? this.rarm,
  );
}