isNullOrEmpty method

bool isNullOrEmpty()

判断字符串是否为 null 或空字符串

Implementation

bool isNullOrEmpty() => this == null || this!.isEmpty;