timeFormat property

String get timeFormat

Implementation

String get timeFormat{
  final int second = (this % 60).toInt();
  final int minute = this ~/ 60;
  final String sSecond = second.toString().padLeft(2,'0');
  final String sMinute = minute.toString().padLeft(2,'0');
  return '$sMinute:$sSecond';
}