Fraction class final
Represents a fraction in terms of a numerator divided by a denominator.
- Inheritance
-
- Object
- ProtoMessage
- Fraction
Constructors
Properties
- denominator → int
-
The value by which the numerator is divided, e.g. 3 in 2/3. Must be
positive.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- numerator → int
-
The numerator in the fraction, e.g. 2 in 2/3.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String