leftStringAtIndex method

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

Implementation

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