gravity method

BasePad gravity(
  1. Gravity gravity
)
override

Sets the gravity Receives CompassGravity returns this object BasePad

Implementation

BasePad gravity(Gravity gravity) {
  _gravity = gravity;
  return this;
}