immortal 2.1.2-nullsafety
immortal: ^2.1.2-nullsafety copied to clipboard
Trve immutable wrapper classes for the Dart collections List, Set and Map.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add immortalThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
immortal: ^2.1.2-nullsafetyAlternatively, 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:immortal/immortal.dart';