moontree_utils 1.0.0 moontree_utils: ^1.0.0 copied to clipboard
generic dart utilities shared across moontree repos
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add moontree_utils
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
moontree_utils: ^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:moontree_utils/address.dart';
import 'package:moontree_utils/exceptions.dart';
import 'package:moontree_utils/extensions/double.dart';
import 'package:moontree_utils/extensions/extensions.dart';
import 'package:moontree_utils/extensions/int.dart';
import 'package:moontree_utils/extensions/iterable.dart';
import 'package:moontree_utils/extensions/list.dart';
import 'package:moontree_utils/extensions/map.dart';
import 'package:moontree_utils/extensions/object.dart';
import 'package:moontree_utils/extensions/set.dart';
import 'package:moontree_utils/extensions/string.dart';
import 'package:moontree_utils/extensions/uint8list.dart';
import 'package:moontree_utils/future.dart';
import 'package:moontree_utils/hex.dart';
import 'package:moontree_utils/list.dart';
import 'package:moontree_utils/lock.dart';
import 'package:moontree_utils/mixins/mixins.dart';
import 'package:moontree_utils/mixins/string.dart';
import 'package:moontree_utils/pairing.dart';
import 'package:moontree_utils/random.dart';
import 'package:moontree_utils/search.dart';
import 'package:moontree_utils/string.dart';
import 'package:moontree_utils/transform.dart';
import 'package:moontree_utils/trigger.dart';
import 'package:moontree_utils/utils.dart';
import 'package:moontree_utils/zips.dart';