eng static method Null safety

DisplayMode eng(
  1. int fractionDigits,
  2. bool complex
)

Implementation

static DisplayMode eng(int fractionDigits, bool complex) => complex
    ? _ComplexMode(_EngFloatFormatter(fractionDigits))
    : _FloatMode(_EngFloatFormatter(fractionDigits));