isChecksumTooShort method Null safety

bool isChecksumTooShort(
  1. int separatorPosition,
  2. String input
)

Implementation

bool isChecksumTooShort(int separatorPosition, String input) {
  return (input.length - separatorPosition - 1 - checksumLength) < 0;
}