isNullOrBlank method

bool isNullOrBlank()

True when null, "" or only spaces.

Implementation

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