optics 0.2.0 copy "optics: ^0.2.0" to clipboard
optics: ^0.2.0 copied to clipboard

Lenses and prisms for Dart objects.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add optics

With Flutter:

 $ flutter pub add optics

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

dependencies:
  optics: ^0.2.0

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:optics/optics.dart';
1
likes
150
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

Lenses and prisms for Dart objects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on optics