event_db 0.1.21 copy "event_db: ^0.1.21" to clipboard
event_db: ^0.1.21 copied to clipboard

A companion package for handling models and databases using the event bloc.

0.1.21 #

  • Added getField and setField function to GenericModel
  • Changed copy and hasSameFields to use the newly added functions

0.1.20 #

  • Added saveModels function to DatabaseRepository and SpecificDatabase with default implementation

0.1.19 #

  • Added validator/list.dart to exported libraries

0.1.18 #

  • Moved validator to its own subfolder and divided the validator into distinct files
  • Added ListSizeValidator
  • Added ListSubValidator

0.1.17 #

  • Fixed GenericModel.modelList to work when serialized and deserialized

0.1.16 #

  • Added DatabaseException and an errorStream to DatabaseRepository
  • Added Unit Test for Assertions in GenericModel

0.1.15 #

  • Added PastDateTimeValidator

0.1.14 #

  • Added GenericModel.number to make handling numbers easier and more consistent.

0.1.13 #

  • Added JsonMap extension for reading values from maps.
  • Added Validator and ValidatorCollection.
  • Added corresponding unit tests.

0.1.12 #

  • Changed ArgumentErrors and AssertionErrors thrown by type mismatches in GenericModel throw a FormatException instead.
  • Added corresponding unit tests.

0.1.11 #

  • Added JsonStringModel to make working with jsonStrings easier.

0.1.10+1 #

  • Added search function to SpecificDatabase

0.1.10 #

  • Added fieldsToEvaluate and hasSameFields functions to GenericModel
  • Added Search function with a default implementation to DatabaseRepository
  • Added more tests for better coverage

0.1.9 #

  • Added explicit dynamic to the Getters and Setters in GenericModel
  • Changed linter to very good analysis and applied the changes recommended.

0.1.8 #

  • Fixed Bug that caused GenericModel.model to not work when the map has a null value for that particular entry.

0.1.7 #

  • Added idSuffix getter to GenericModel
  • Changed idSuffix setter in GenericModel to use String? instead of String

0.1.6 #

  • Added OrdereableModel interface
  • Added extension methods to GenericModelMap for ones that have an OrdereableModel

0.1.5 #

  • Added findModels function to DatabaseRepository

0.1.4+1 #

  • Added missing export for model_map.dart

0.1.4 #

  • Added SpecificDatabase to make DatabaseRepository interactions simpler when only using a single databaseName
  • Added GenericModelMap to hold some convenience function for loading maps.

0.1.3 #

  • Added FakeDatabaseRepository
  • Added Method for prefixing
  • Changed DatabaseRepository abstract functions to be FutureOrs instead of strictly Futures

0.1.2 #

  • Added helper functions in GenericModel for creating the Getters and Setters for DateTimes and Primitives

0.1.1 #

  • Added helper functions in GenericModel for creating the Getters and Setters for GenericModels

0.1.0 #

  • Initial version.
1
likes
0
pub points
17%
popularity

Publisher

unverified uploader

A companion package for handling models and databases using the event bloc.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection, event_bloc, flutter, test, tuple, uuid

More

Packages that depend on event_db