EngineStatus class final

Model EngineStatus (schemas/api/1.0/engine.schema.json#/$defs/engine).

Annotations
  • @immutable

Constructors

EngineStatus({required EngineName name, required EngineState status, String? version, String? protocol, String? endpoint, List<String>? nodes, ComputeBackend? backend, List<String>? backends, Map<String, Object?>? capabilities, Map<String, double>? metrics, Problem? problem, String? since, Map<String, Object?> extra = const {}})
Creates a EngineStatus.
const
EngineStatus.fromJson(Map<String, Object?> json, [String path = ''])
Decodes json; throws FormatException (with the JSON path) on a missing required member or a type mismatch. Unknown members and explicit nulls go to extra.
factory

Properties

backend → ComputeBackend?
visual: active compute / render backend
final
backends → List<String>?
visual: available backends
final
capabilities → Map<String, Object?>?
engine-reported capabilities (outputs, codecs, max resolution, audio channels …); keys listed in docs/capabilities.yaml
final
endpoint → String?
unix:/run/freedome/engine.sock, host:port
final
extra → Map<String, Object?>
Members this version does not model (incl. x-* extensions and explicit nulls); written back by toJson.
final
hashCode → int
The hash code for this object.
no setteroverride
metrics → Map<String, double>?
fps, droppedFrames, gpuLoad, latencyMs …
final
name → EngineName
name member.
final
nodes → List<String>?
nodes member.
final
problem → Problem?
why degraded / down / incompatible
final
protocol → String?
gRPC package, e.g. freedome.engine.v1
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
since → String?
RFC 3339 UTC with milliseconds, e.g. 2026-10-19T12:00:00.000Z.
final
status → EngineState
status member.
final
version → String?
version member.
final

Methods

copyWith({EngineName? name, EngineState? status, String? version, String? protocol, String? endpoint, List<String>? nodes, ComputeBackend? backend, List<String>? backends, Map<String, Object?>? capabilities, Map<String, double>? metrics, Problem? problem, String? since, Map<String, Object?>? extra}) → EngineStatus
A copy with the given members replaced (a member cannot be reset to null this way).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Encodes to JSON (absent members omitted, extra merged back).
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override