mode property

  1. @override
double get 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 => p <= 0.5 ? 0 : 1;