scale method

void scale(
  1. double ratio
)

Implementation

void scale(double ratio) => _scale = ratio;