shouldNotBeNegative method

void shouldNotBeNegative()

Asserts that the value is greater or equal zero.

Implementation

void shouldNotBeNegative() => expect(this, isNonNegative);