isNull function

bool isNull(
  1. String? str
)

check if the string str is null

Implementation

bool isNull(String? str) => str == null || str.length == 0;