dot_prop 1.0.1 copy "dot_prop: ^1.0.1" to clipboard
dot_prop: ^1.0.1 copied to clipboard

Get, set, or delete a property from a nested object using a dot path.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dot_prop

With Flutter:

 $ flutter pub add dot_prop

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dot_prop: ^1.0.1

Alternatively, 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:dot_prop/dot_prop.dart';
2
likes
160
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

Get, set, or delete a property from a nested object using a dot path.

Repository (GitHub)
View/report issues

Topics

#dot-prop #dot-path #dot-notation

Documentation

API reference

License

MIT (license)

Dependencies

characters

More

Packages that depend on dot_prop