compactNums property

bool compactNums
final

When true and the number of decimals not set for output, then numbers outputted are compacted.

Examples:

  • int (15) => "15"
  • double (15.0) => "15"
  • double (15.1) => "15.1"
  • double (15.123) => "15.123"

Implementation

final bool compactNums;