isBlankChar function

bool isBlankChar(
  1. String? c
)

Returns true if c is a blank char (space, \t, \n, \r).

Implementation

bool isBlankChar(String? c) {
  return c == ' ' || c == '\n' || c == '\t' || c == '\r';
}