Refactoring to remove late variables and cyclic dependencies (#247)

* Cleaned up `config_handler.dart`

* Cleaned up `log_handler.dart`

* Cleaned up `session.dart`

* Clean up `survey_handler.dart`

* Confighandler no longer late variable

* Remove `Initializer` dependency from `ConfigHandler`

* Remove `late` variable for `_clientId`

* Consolidate `Session` into `UserProperty`

* Sort members + swap error messages for tests

* `dart format .`

* Fix tests + note a TODO for `package:file`

* `..run()`

* Remove `UserProperty.initialize` method

* Remove `ErrorHandler` + no late for userprop and loghandler

* Fix test

* Make userprop variable private

* Move configHandler to constructor initializer

* Remove unnecessary parameters for log handler

* Add'l documentation

* Remove unused params for survey handler

* Changelog update + dartdocs

* Bump version to `6.0.0`

* Remove `Initializer` abstraction, sub for functions

* Fix test for session file modified timestamp

* Remove `sessionIdOverride` for session initializer

* Clean up CHANGELOG

* Fix failing test

* Format fix
17 files changed
tree: f4fb3dbe18c8d0d79ee09da36d80973b9fd1e0b2
  1. .github/
  2. pkgs/
  3. .gitignore
  4. CODEOWNERS
  5. CONTRIBUTING.md
  6. LICENSE
  7. README.md
README.md

Overview

This repository is home to tooling related Dart packages. Generally, this means packages published through the tools.dart.dev publisher that don't naturally belong to other topic monorepos (like dart-lang/build, dart-lang/test, or dart-lang/shelf).

Packages

PackageDescriptionVersion
cli_configA library to take config values from configuration files, CLI arguments, and environment variables.pub package
extension_discoveryA convention and utilities for package extension discovery.pub package
graphsGraph algorithms that operate on graphs in any representationpub package
unified_analyticsA package for logging analytics for all Dart and Flutter related tooling to Google Analytics.pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.