RationalImaginaryValue class

The imaginary value representing a fraction.

Inheritance

Constructors

RationalImaginaryValue(Rational rational)
Creates the imaginary value.
const

Properties

approximable bool
Can the value be approximated at all.
no setterinherited
hashCode int
The hash code for this object.
no setteroverride
rational Rational
The held rational.
final
representation String
The representation of the value for display.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

approximate([int? digits]) Rational
Gives an approximation of the value.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override