momento 0.0.4
momento: ^0.0.4 copied to clipboard
Dart client for interacting with Momento
Developer Setup #
- install dart using homebrew
- Using Intellij IDE for dart development
- Installed dart plugin for intellij
brew info dartto determine where the dart sdk is installed- followed these instructions on how to setup sdk inside of intellij
In VSCode, there's an extension for Dart and Flutter files.
To install dependencies using CLI: dart pub get
Running tests: dart test
Linting and formatting: dart format . and dart fix
Logging #
There is a LogLevel enum that contains the following log levels:
LogLevel.traceLogLevel.debugLogLevel.infoLogLevel.warnLogLevel.errorLogLevel.fatalLogLevel.off
This enum can be used to configure the logging level of the Momento package. By default, the logging level is set to LogLevel.info. To change the logging level, pass the desired level to the Configuration constructor:
var config = Mobile.latest(logLevel: LogLevel.debug);