isNullOrEmpty property

bool get isNullOrEmpty

判断是否为 null 或空

Implementation

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