isNull function

bool isNull(
  1. String input
)

check if the string input is null

Implementation

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