sci static method Null safety

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

Implementation

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