TwistWithCovariance constructor Null safety

TwistWithCovariance(
  1. {Twist? twist,
  2. List<double>? covariance}
)

Implementation

TwistWithCovariance({
  Twist? twist,
  List<double>? covariance,
}):
this.twist = twist ?? Twist(),
this.covariance = covariance ?? List.generate(36, (_) => 0);