clampNonNegative method

  1. @useResult
int clampNonNegative()

Implementation

@useResult
int clampNonNegative() => this < 0 ? 0 : round();