isBlank property

bool isBlank

Checks if the String is Blank (null, empty or only white spaces).

Implementation

bool get isBlank => this.trim().isEmpty;