LanisClient class
Thin bootstrap for the liblanis Riverpod graph.
Hosts create a ProviderScope / ProviderContainer and apply
LanisClient.overrides from configure.
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
Static Properties
- config → LanisConfig?
-
Last configuration produced by configure, if any.
no setter
-
overrides
→ List<
Override> -
Riverpod overrides to pass into
ProviderScope/ProviderContainer.no setter
Static Methods
-
configure(
{String? databasePath, SecretStore? secretStore, String? documentCacheDirectory, HttpClientAdapter? httpAdapter, String userAgent = 'liblanis/0.1.0', bool storageEnabled = true, Duration? storageMaxAge, int? storageMaxBytes, UnexpectedErrorHandler? onUnexpectedError}) → List< Override> - Configure persistence, secrets, storage, and HTTP.
-
reset(
) → void - Clears static configuration (useful in tests).