isNullOrEmpty function

bool isNullOrEmpty(
  1. String? str
)

Implementation

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