RemoteModelsCatalog class final

The remote catalog payload. All fields optional — a partial update can ship just a new chat provider without touching media lists.

Constructors

RemoteModelsCatalog({Map<String, RemoteProviderEntry> providers = const {}})
const
RemoteModelsCatalog.fromJson(Object? json)
Decodes a catalog body, returning a successful empty catalog on any shape error (the host keeps working with whatever the endpoint reported).
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
providers → Map<String, RemoteProviderEntry>
providerKind → per-provider catalog entry.
final
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