Always returns false as the value in the real dimension is 0. To find whether the imaginary component is infinite use value.isInfinite.
value.isInfinite
@override bool get isInfinite => false;