isNullOrEmpty function

bool isNullOrEmpty(
  1. String? txt
)

Implementation

bool isNullOrEmpty(String? txt) {
  return txt == null || txt.isEmpty;
}