isEmpty static method
Implementation
static bool isEmpty(dynamic str) {
if(str == null) {
return true;
}
if(str is String) {
return str.isEmpty;
}
return false;
}
static bool isEmpty(dynamic str) {
if(str == null) {
return true;
}
if(str is String) {
return str.isEmpty;
}
return false;
}