hourStringAtIndex method

  1. @override
String? hourStringAtIndex(
  1. int index
)
override

Implementation

@override
String? hourStringAtIndex(int index) {
  if (index >= 0 && index < 24) {
    return digits(index, 2);
  } else {
    return null;
  }
}