runDaily<T> static method
A generic callback that runs on a daily basis The day here means you run the function at 3:00 AM. So, Day means the next 3:00 AM
Implementation
static Future<T?> runDaily<T>(
String key, {
required T? Function() callback,
T? Function()? fallback,
bool debugCallback = false,
bool debugFallback = false,
}) {
return OnceRunner.run(
key: key,
duration: Const.day,
callback: callback,
fallback: fallback,
debugCallback: debugCallback,
debugFallback: debugFallback,
);
}