BackendPreference class sealed

User preference for backend selection on a per-call basis.

  • auto: pick the highest-priority backend that supports the request.
  • pinned: only use the named backend; fail if it can't satisfy.
  • excluded: try any backend except the listed ones.

Constructors

BackendPreference.excluded(Set<String> backendNames)
factory
BackendPreference.pinned(String backendName)
factory

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

auto → const BackendPreference