isEmptyOrNull property

bool get isEmptyOrNull

Checks if the given String s is null or empty

Implementation

bool get isEmptyOrNull =>
    this == null ||
    (this != null && this!.isEmpty) ||
    (this != null && this! == 'null');