isNullOrEmpty function

bool isNullOrEmpty(
  1. String? str
)

Returns true if str is null or empty.

Implementation

bool isNullOrEmpty(String? str) => str == null || str.isEmpty;