dart_ext 1.0.0 dart_ext: ^1.0.0 copied to clipboard
A set of useful helper functions to making collection, string and function easier to use
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dart_ext
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dart_ext: ^1.0.0
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:dart_ext/collection_ext.dart';
import 'package:dart_ext/function_ext.dart';
import 'package:dart_ext/function_ext_mirror_invoke.dart';
import 'package:dart_ext/string_ext.dart';