Percent class

Inheritance

Constructors

Percent(BigInt numerator, {BigInt? denominator})

Properties

denominator ↔ BigInt
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
isPercent ↔ bool
getter/setter pair
numerator ↔ BigInt
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(Fraction otherParsed) → Fraction
inherited
asFraction() → Fraction
Helper method for converting any super class back to a fraction
inherited
divide(Fraction otherParsed) → Fraction
inherited
equalTo(Fraction otherParsed) → bool
inherited
greaterThan(Fraction otherParsed) → bool
inherited
invert() → Fraction
inherited
lessThan(Fraction otherParsed) → bool
inherited
multiply(Fraction otherParsed) → Fraction
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quotient() → BigInt
inherited
remainder() → Fraction
inherited
subtract(Fraction otherParsed) → Fraction
inherited
toFixed(int decimalPlaces, {dynamic format, RoundingMode? rounding}) → String
toFixedNative(int decimalPlaces, {NumberFormat? format, RoundingMode? rounding}) → String
inherited
toSignificant(int significantDigits, {dynamic format, RoundingMode? rounding}) → String
toSignificantNative(int significantDigits, {NumberFormat? format, RoundingMode? rounding}) → String
inherited
toString() → String
A string representation of this object.
inherited
tryParseFraction(BigInt fractionish) → Fraction
inherited

Operators

operator *(covariant Fraction other) → Percent
operator +(covariant Fraction other) → Percent
operator -(covariant Fraction other) → Percent
operator /(covariant Fraction other) → Percent
operator ==(Object other) → bool
The equality operator.
inherited