- Updated dependencies (analyser
^7.0.0
).
- Require Dart 3,
analyzer
version^6.0.0
,- Removed dependency on ansicolor and meta.
- Amended description.
- Removed extension method
enumValue<T>()
, useget<T>()
instead. - Updated dependencies.
- This version requires Dart >=2.19.0.
- Amended Dart docs.
- Made the method
isEnum<T>()
static.
- Amended docs.
- Converted
GenericReader
into an extension onConstantReader
. - Added example
example/bin/user_example.dart
.
Fixed missing references in dartdocs.
Moved package generic_reader_example
to its own folder to expose README.md
.
Otherwise, the tab example just shows the content of the library generic_reader_example
.
Amended README.md
.
Rearranged folder structure of lib
.
Added methods getMap<T>()
and getEnum<T>()
.
Added condition to handle null
input in methods getList<T>()
and getSet<T>()
.Restructured folder example
.
Removed debug print statement. Updated dependencies.
Removed pre-registered decoder for type Type
.
Added method holdsA<>()
. Deprecated method isA<>()
.
The method addDecoder<T>()
now returns an instance
of the reader to allow method chaining.
Amended README.md
Fixed test get<T>()
.
Amended docs.
Changed Dart SDK version to >=2.8.1
Initial version of the library.