mode property

  1. @override
double mode
override

Returns the mode, a value that appears most commonly in the set of values.

See https://en.wikipedia.org/wiki/Mode_(statistics).

Implementation

@override
double get mode =>
    shape > 1 ? scale * pow((shape - 1) / shape, 1 / shape) : 0;