turnOffGrouping method Null safety

void turnOffGrouping()

Explicitly turn off any grouping (e.g. by thousands) in this format.

This is used in compact number formatting, where we omit the normal grouping. Best to know what you're doing if you call it.

Implementation

void turnOffGrouping() {
  _groupingSize = 0;
  _finalGroupingSize = 0;
}