RunAnywhereModelLifecycle class

Canonical generated-proto model/component lifecycle surface.

Calls the commons rac_model_lifecycle_*_proto ABI. Request/result/snapshot types are generated from IDL; Flutter does not keep a parallel lifecycle DTO.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

componentSnapshot(SDKComponent component) ComponentLifecycleSnapshot?
Snapshot the live lifecycle state for a model-backed component.
current([CurrentModelRequest? request]) Future<CurrentModelResult>
Query the current loaded model matching the optional category/framework.
load(ModelLoadRequest request) Future<ModelLoadResult>
Load a model through commons lifecycle routing.
modelInfoForCategory(ModelCategory category) Future<ModelInfo?>
Full ModelInfo for the model currently loaded under category, or null when nothing is loaded for it.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unload(ModelUnloadRequest request) Future<ModelUnloadResult>
Unload model(s) through commons lifecycle routing.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

shared RunAnywhereModelLifecycle
no setter