isDisposed property

bool get isDisposed

Whether the widget that owned this view model has gone. Work that finishes later checks it before drawing.

Implementation

bool get isDisposed => _disposed;