canSubmit property

bool get canSubmit

Whether the draft can be sent now: there is a draft and no run is live.

Implementation

bool get canSubmit => !_running && hasDraft;