ImaginaryValue class abstract

A value that cannot exactly be converted to a double (like 1/3.)

Implementers

Constructors

ImaginaryValue()
Creates the imaginary value.
const

Properties

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

Methods

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

Operators

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