isLoaded property
bool
get
isLoaded
True when commons lifecycle has a ready diffusion model.
Implementation
bool get isLoaded {
final snapshot = _lifecycleSnapshot;
return snapshot != null &&
snapshot.state ==
ComponentLifecycleState.COMPONENT_LIFECYCLE_STATE_READY &&
snapshot.modelId.isNotEmpty;
}