isDone property
bool
get
isDone
Whether the measurement has completed (successfully or with failure).
Implementation
bool get isDone =>
this is MeasurementProgressCompleted || this is MeasurementProgressFailed;