isValueNullOrEmpty static method
Implementation
static bool isValueNullOrEmpty(dynamic value) {
bool canCheckEmptiness = (value is String || value is List);
return (value == null ||
(canCheckEmptiness && value.isEmpty) ||
value == 'null');
}