isEndWithSpace method

bool isEndWithSpace(
  1. String str
)

Implementation

bool isEndWithSpace(String str) {
  return str.endsWith(WHITE_SPACE_CHAR) || str.endsWith(NEW_LINE_CHAR) || str.endsWith(RETURN_CHAR) || str.endsWith(TAB_CHAR);
}