AgeResult class

Represents an exact age result in years, months, and days.

Constructors

AgeResult({required int years, required int months, required int days})
Creates an AgeResult with the specified years, months, and days.

Properties

days int
The number of additional days after the months.
final
hashCode int
The hash code for this object.
no setterinherited
months int
The number of additional months after the years.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
years int
The number of full years.
final

Methods

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.
inherited