addWheel method
Add a wheel. For information about the options, see WheelInfo
.
Implementation
int addWheel([WheelInfo? wheelInfo]){
final info = wheelInfo ?? WheelInfo();
final index = wheelInfos.length;
wheelInfos.add(info);
return index;
}