CurrentDateTimeUseCase class abstract

Use case that returns a reference DateTime which can be used by the app for obtaining the current date & time.

Notably, it can be used localization-related methods such as format as a point of reference when calculating the time ago text.

Implementers

Constructors

CurrentDateTimeUseCase()
const

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

call() 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