operator + method

double? operator +(
  1. double other
)

Implementation

double? operator +(double other) => this != null ? this! + other : null;