isNull function

bool isNull(
  1. String? str
)

check if the string str is null

Implementation

bool isNull(String? str) {
  return str == null || str.length == 0;
}