TimeFunction typedef Null safety
- @Deprecated('Pass around an instance of Clock instead.')
Returns current time.
Implementation
@Deprecated('Pass around an instance of Clock instead.')
typedef TimeFunction = DateTime Function();
Returns current time.
@Deprecated('Pass around an instance of Clock instead.')
typedef TimeFunction = DateTime Function();