NutritionAIModule class

The NutritionAIModule class is a singleton that handles the initialization and configuration of the Nutrition AI module. It manages the connection to different storage connectors and sets up the user interface and user profile.

Properties

configuration ↔ NutritionConfiguration
configuration holds the key and connector data.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

launch(BuildContext context) Future<void>
Launches the Nutrition AI module.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setPassioConnector(PassioConnector passioConnector) NutritionAIModule
Sets the Passio connector for the configuration.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance NutritionAIModule
Getter to retrieve the singleton instance.
no setter