CloudAppConfig class

A singleton class responsible for managing cloud configuration related to themes and Firebase Remote Config.

Implemented types

Properties

darkTheme ColorScheme
Retrieves the dark theme configuration from the remote service.
no setteroverride
firebaseRemoteConfig ↔ FirebaseRemoteConfig
latefinal
hashCode int
The hash code for this object.
no setterinherited
lightTheme ColorScheme
Retrieves the light theme configuration from the remote service.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init({Map<String, dynamic>? config, FirebaseApp? app}) Future<void>
Initializes the cloud app configuration by setting up Firebase Remote Config.
override
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

instance CloudAppConfig
Returns the singleton instance of CloudAppConfig.
no setter