isFinite method

  1. @override
bool isFinite()

Return true if both the real and imaginary parts of Complex are finite, otherwise return false.

Implementation

@override
bool isFinite() {
  return real.isFinite || imaginary.isFinite;
}