hasDraft property

bool get hasDraft

Whether the draft contains non-whitespace text.

Implementation

bool get hasDraft => _draft.trim().isNotEmpty;