activeBackend property

  1. @override
PreferredBackend? activeBackend
final

Backend that the runtime initialized for this model, when known.

This value is set after runtime creation and must reflect any fallback the plugin performed internally. FFI runtimes may fall back silently from a requested accelerator to another backend, so callers should check this value when the exact backend matters. It is null when the platform runtime does not expose a final backend.

Implementation

@override
final PreferredBackend? activeBackend;