formattedTime method
Implementation
String formattedTime({required bool clockingIn, DateTime? fallbackTime}) {
final DateTime? at = timeOf(clockingIn: clockingIn) ?? fallbackTime;
return at == null ? '--:--' : DateFormat('hh:mm a').format(at.toLocal());
}