setupBouncingObject method

void setupBouncingObject({
  1. bool? enabled,
  2. double? reflectFactor,
})

Implementation

void setupBouncingObject({
  bool? enabled,
  double? reflectFactor,
}) {
  _bouncingObjectEnabled = enabled ?? _bouncingObjectEnabled;
  _bouncingReflectFactor = reflectFactor ?? _bouncingReflectFactor;
}