ComponentLifecycleSnapshot constructor
ComponentLifecycleSnapshot({
- SDKComponent? component,
- ComponentLifecycleState? state,
- String? modelId,
- Int64? updatedAtMs,
- String? errorMessage,
- ModelCategory? category,
- InferenceFramework? framework,
- String? resolvedPath,
- Int64? loadedAtUnixMs,
- ModelInfo? model,
Implementation
factory ComponentLifecycleSnapshot({
SDKComponent? component,
$6.ComponentLifecycleState? state,
$core.String? modelId,
$fixnum.Int64? updatedAtMs,
$core.String? errorMessage,
$0.ModelCategory? category,
$0.InferenceFramework? framework,
$core.String? resolvedPath,
$fixnum.Int64? loadedAtUnixMs,
$0.ModelInfo? model,
}) {
final result = create();
if (component != null) result.component = component;
if (state != null) result.state = state;
if (modelId != null) result.modelId = modelId;
if (updatedAtMs != null) result.updatedAtMs = updatedAtMs;
if (errorMessage != null) result.errorMessage = errorMessage;
if (category != null) result.category = category;
if (framework != null) result.framework = framework;
if (resolvedPath != null) result.resolvedPath = resolvedPath;
if (loadedAtUnixMs != null) result.loadedAtUnixMs = loadedAtUnixMs;
if (model != null) result.model = model;
return result;
}