FakeCurrentDateTimeUseCase class
Implementation of a current date time use case that returns dateTime, or
January 1, 2023 at 00:00:00.00 if dateTime is null. This is useful for
tests which need a fixed reference date time. Consider using
NowCurrentDateTimeUseCase for a real implementation
- Implemented types
Constructors
- FakeCurrentDateTimeUseCase([DateTime? dateTime])
-
const
Properties
Methods
-
call(
) → DateTime -
override
-
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