momento 0.0.5 copy "momento: ^0.0.5" to clipboard
momento: ^0.0.5 copied to clipboard

Dart client for interacting with Momento

Developer Setup #

  1. install dart using homebrew
  2. Using Intellij IDE for dart development
  3. Installed dart plugin for intellij
  4. brew info dart to determine where the dart sdk is installed
  5. 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.trace
  • LogLevel.debug
  • LogLevel.info
  • LogLevel.warn
  • LogLevel.error
  • LogLevel.fatal
  • LogLevel.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);