isBlankString function

bool isBlankString(
  1. String s, [
  2. int offset = 0
])

Returns true if s has only blank characters.

Implementation

bool isBlankString(String s, [int offset = 0]) {
  return isBlankStringInRange(s, offset, s.length - offset);
}