fromInt static method

SLFloat fromInt(
  1. int x
)

Implementation

static SLFloat fromInt(int x) => SLFloat(x.toDouble());