timeFormat method

String timeFormat([
  1. bool withSeconds = false
])

Implementation

String timeFormat([bool withSeconds = false]) {
  final format =
      withSeconds
          ? DateFormat.jms(LangQ.currentLocale.toString())
          : DateFormat.jm(LangQ.currentLocale.toString());
  return format.format(this);
}