operator unary- method

double? operator unary-()

Negate operator. */

Implementation

double? operator -() {
  if (value != null) {
    return -value!;
  }
  return null;
}