isEmpty function
Implementation
bool isEmpty(dynamic value) {
return value == null ||
value == '' ||
value == null ||
(value is List && value.isEmpty) ||
(value is num && isNaN(value));
}
bool isEmpty(dynamic value) {
return value == null ||
value == '' ||
value == null ||
(value is List && value.isEmpty) ||
(value is num && isNaN(value));
}