isInkWell static method
dynamic
isInkWell(
- dynamic content
Implementation
static isInkWell(dynamic content) {
if (content == null) {
return false;
} else if (content is int) {
return false;
} else if (content is String) {
return false;
} else if (content is bool) {
return false;
} else if (content is double) {
return false;
} else if (content is List) {
if (content.isEmpty) {
return false;
} else {
return true;
}
}
return true;
}