labelRotation method

int labelRotation({
  1. required bool collision,
})

Implementation

int labelRotation({required bool collision}) =>
    collision && _rotateOnCollision
        ? _labelCollisionRotation
        : _labelDefaultRotation;