isNotNullOrEmpty function
Implementation
bool isNotNullOrEmpty(dynamic object) {
if (object == null) return false;
if (object is String || object is Map || object is Iterable) {
return object.isNotEmpty;
}
return true;
}
bool isNotNullOrEmpty(dynamic object) {
if (object == null) return false;
if (object is String || object is Map || object is Iterable) {
return object.isNotEmpty;
}
return true;
}