octopus_extensions 2.2.34
octopus_extensions: ^2.2.34 copied to clipboard
A collection of Dart extensions and helpers that enhance core types like List, Map, String, and DateTime with concise, reusable functionality.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add octopus_extensions
With Flutter:
$ flutter pub add octopus_extensions
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
octopus_extensions: ^2.2.34
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:octopus_extensions/extensions.dart';