isNullOrEmpty method
Implementation
bool isNullOrEmpty() {
if (this is String) {
return (this as String).isEmpty;
} else if (this is Iterable) {
return (this as Iterable).isEmpty;
}
return this == null;
}
bool isNullOrEmpty() {
if (this is String) {
return (this as String).isEmpty;
} else if (this is Iterable) {
return (this as Iterable).isEmpty;
}
return this == null;
}