formatMinute method Null safety

  1. @override
String formatMinute(
  1. TimeOfDay timeOfDay
)
override

Formats TimeOfDay.minute in the given time of day according to the value of timeOfDayFormat.

Implementation

@override
String formatMinute(TimeOfDay timeOfDay) {
  return _twoDigitZeroPaddedFormat.format(timeOfDay.minute);
}