hasDraft property

bool get hasDraft

Whether the draft has something to send: any text besides whitespace.

Implementation

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