dart / 2 / dart-core / double / operator_minus.html

operator - method

double operator -(
  1. num other
)
override

Subtracts other from 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);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-core/double/operator_minus.html