Skip to content

Conversation

sewakghali
Copy link

  1. Added a dart executable tool from the existing tool/refresh.sh, to create the timezone files right in the package without cloning this repository.
    Usage:
    dart run timezone:refresh

  2. Fixes Field '_local' has not been initialized. #226 . Also, removed late initialization from _cacheZone field inside the Location class, and initialized it via factory constructor.

  3. All tests pass.

@srawlins Please review, and lmk if anything is wrong/not up to standard.

…nd if the underlying utilities are not present
Replaced late-initialized fields with final fields initialized via a factory and private constructor.
…tFile to avoid "dartimplementation_imports" lint error when consumed directly in other package

Import of a library in the 'lib/src' directory of another package.
Try importing a public library that exports this library, or removing the import.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Field '_local' has not been initialized.
1 participant