return if given string is not blank
static bool isNotBlank(String? str) { if (str != null && str.trim() != "") { return true; } return false; }