getDisplayTimeMinute static method

String getDisplayTimeMinute(
  1. int mSec, {
  2. bool hours = false,
})

Get display minute time.

Implementation

static String getDisplayTimeMinute(int mSec, {bool hours = false}) {
  if (hours) {
    return getMinute(mSec).floor().toString().padLeft(2, '0');
  } else {
    return getRawMinute(mSec).floor().toString().padLeft(2, '0');
  }
}