Nipodemos

Merge branch 'master' of https://github.com/jonataslaw/getx into more_tests

... ... @@ -14,14 +14,9 @@ class GetUtils {
static bool isNullOrBlank(dynamic s) {
if (isNull(s)) return true;
switch (s.runtimeType as Type) {
case String:
case List:
case Map:
case Set:
case Iterable:
if (s is String || s is List || s is Map || s is Set || s is Iterable) {
return s.isEmpty as bool;
default:
} else {
return s.toString() == 'null' || s.toString().trim().isEmpty;
}
}
... ...