Age class

Class for calculating age and next birthday, i get this class from the package age

Constructors

Age()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dateDifference({required DateTime fromDate, required DateTime toDate, bool includeToDate = false}) AgeDuration
Function to check different year, month and date from two datetime
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

Static Properties

instance Age
create instance for an age
getter/setter pair