flatten_unflatten 0.0.1
flatten_unflatten: ^0.0.1 copied to clipboard
A zero-dependency flatten and unflatten library for maps and lists
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flatten_unflattenWith Flutter:
$ flutter pub add flatten_unflattenThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flatten_unflatten: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flatten_unflatten/flatten_unflatten.dart';