getContentAtIndex method Null safety
override
Implementation
@override
String? getContentAtIndex(int column, int index) {
if (index >= 0 && index < (column == 0 ? 24 : 60)) {
return digits(index, 2);
} else {
return null;
}
}
@override
String? getContentAtIndex(int column, int index) {
if (index >= 0 && index < (column == 0 ? 24 : 60)) {
return digits(index, 2);
} else {
return null;
}
}