StoreRepositories class

The full set of metadata repositories, injected into OmnyStore as one unit.

A bundle rather than seven constructor parameters because they are always swapped together — an adapter implements all of them against one backend, and a caller that mixed a SQL release repository with an in-memory package repository would get a store that half-survives a restart.

Implementers

Constructors

StoreRepositories({required OrganizationRepository organizations, required ProjectRepository projects, required PackageRepository packages, required ReleaseRepository releases, required AssetRepository assets, required DownloadRepository downloads, required AssetLocationRepository locations})
Bundles the repositories.
const

Properties

assets AssetRepository
Asset metadata storage.
final
downloads DownloadRepository
Download history storage.
final
hashCode int
The hash code for this object.
no setterinherited
locations AssetLocationRepository
Asset placement storage.
final
organizations OrganizationRepository
Organization storage.
final
packages PackageRepository
Package storage.
final
projects ProjectRepository
Project storage.
final
releases ReleaseRepository
Release storage.
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