format method Null safety

  1. @override
String format(
  1. Value v,
  2. bool windowEnabled
)
override

Implementation

@override
String format(Value v, bool windowEnabled) =>
    formatFixed(v, fractionDigits) ??
    formatScientific(
        v, windowEnabled ? min(7, fractionDigits + 1) : fractionDigits + 1);