discontinuedPackage flutter_gemma has been discontinued and replaced by flutter_edge_ai.

isCancelled property

bool get isCancelled

Whether this token has been cancelled

Implementation

bool get isCancelled => _cancelReason != null;