path_selector 1.0.1 path_selector: ^1.0.1 copied to clipboard
extract values from Map/List using dot-seprated strings you don't have to cast multiple times to fetch a simple values, this is very useful while working with i.e json data
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add path_selector
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
path_selector: ^1.0.1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:path_selector/path_selector.dart';