All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- fix:
type 'List<dynamic>' is not a subtype of type 'List<Object>' in type cast
when flattening a JSON decoded object
The library now uses Map<String, dynamic>
instead of Map<String, Object>
.
This means null values are now accepted inside the map, following Dart null-safety guidelines. This is specially important when dealing with JSON objects.
- feat:
Map<String, dynamic>
instead ofMap<String, Object>
- feat: Stable Null Safety support (requires Dart >= 2.12.0)
- feat: Null Safety support (requires Dart >= 2.12.0-0)
- chore: Enable effective_dart linting rules
- feat: maxDepth parameter
- fix: Preserve empty Maps
- refactor: Simplify logic based on npm's flat
- chore: Simple example project
- chore: API docs
- feat: delimiter override option
- feat: safe mode to avoid flattening lists
- feat: Ability to flatten lists (which can contain maps)
- feat: Ability to flatten nested maps
- feat:
flatten
method basic implementation