operator + method - double class - dart:core library (original) (raw)

description

operator + abstract method

double operator +(

  1. num other )

override

Adds other to this number.

The result is an int, as described by int.+, if both this number and other is an integer, otherwise the result is a double.

Implementation

double operator +(num other);