isAllEmpty property

bool isAllEmpty

Detects whether the string is empty.

'' -> true ' ' -> true 'a' -> false

Implementation

bool get isAllEmpty => isEmpty || trim().isEmpty;