isNegative method
void
isNegative()
Expects that num.isNegative is true.
Implementation
void isNegative() {
context.expect(() => ['is negative'], (actual) {
if (actual.isNegative) return null;
return Rejection(which: ['is not negative']);
});
}