toString method
Output Statistic as a string.
This will output something like the following:
15.00 ± 28.78 MoE / 34.50 SD Name of statistic
The first number is the geometric mean, the second is the marginOfError and the third is the stdDeviation. If name is specified, it will trail the line.
The line is formatted for easy use in tables, such as when outputting and comparing many statistics in the terminal.
Implementation
@override
String toString() => "${_fmt(mean).padLeft(8)} "
"± ${_fmt(marginOfError).padLeft(6)} MoE / "
"${_fmt(stdDeviation).padLeft(6)} SD "
"$name";