omnimodel 1.1.4 copy "omnimodel: ^1.1.4" to clipboard
omnimodel: ^1.1.4 copied to clipboard

Model complex data and access it in an easy and safe way. OmniModel wraps data structures and allows the developer to handle missing entries and fields

Changelog #

1.1.4 #

  • Fixed the exposition of JsonType and SimilarityBackend enums

1.1.3 #

  • Added the tokenType() method that returns the JsonType of a token of the OmniModel

1.1.2 #

  • Added the clone() method
  • Solved a problem that returned an empty instance when using OmniModel.fromDynamic() and passing an omnimodel instance.

1.1.1 #

  • Added the automatic conversion to json, so that jsonEncode() works correctly when encoding OmniModels

1.1.0 #

❗Breaking changes #

  • Adjusted function names to better reflect their functionality:
    • OmniModel.identity() > OmniModel.empty()
  • Added the in place OmniModel.edit() method
  • Added indent parameter to OmniModel.toRawJson()
  • Adjusted hint printing style

1.0.10 #

  • Fixed static analysis and pub points
  • Adjusted dart SDK version

1.0.9 #

  • Improved documentation
  • OmniModel.fromMap() now accepts any Map and automatically converts it by using toString() on keys
  • OmniModel.similar() allows to extract the key that is most similar to the provided one
  • OmniModelPreferences.similarityBackend can be used to change the similarity algorithm used

1.0.8 #

  • Changed the similarity algorithm for keys from levenshtein to a custom similarityConvolution

1.0.7 #

  • OmniModelPreferences enforceLowerCaseKeys fix

1.0.6 #

  • OmniModelPreferences enforceLowerCaseKeys

1.0.5 #

  • Added project lints to enforce style
  • Exposed extension methdods levensthein on String and deepUpdate on Map
  • Get the entries of an OmniModel directly using entries

1.0.4 #

  • Fixed a problem in which in certain situations, calling tokenAsModel would throw an exception.

1.0.3 #

  • Fixed a problem in which in certain situations, calling tokenAsModel would throw an exception.

1.0.2 #

  • Examples.

1.0.1 #

  • Tests.

1.0.0 #

  • Initial version.
3
likes
0
pub points
24%
popularity

Publisher

verified publishertratteo.it

Model complex data and access it in an easy and safe way. OmniModel wraps data structures and allows the developer to handle missing entries and fields

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

tint

More

Packages that depend on omnimodel