getSp static method

double getSp(
  1. double sizePx
)

Implementation

static double getSp(double sizePx) => sizePx.sp;