moontree_utils

Last updated:

0 purchases

moontree_utils Image
moontree_utils Images
Add to Cart

Description:

moontree utils

Generic Dart Utilities, made specifically to support multiple Moontree repos.
Example #
//import 'package:moontree_utils/moontree_utils.dart'; // everything
//import 'package:moontree_utils/extensions/extensions.dart'; // all extensions
import 'package:moontree_utils/extensions/int.dart';
import 'package:moontree_utils/src/mixins.dart' show ToStringMixin;
import 'package:moontree_utils/src/list.dart' show range;

class Example with ToStringMixin {
final String symbol;

Example(this.symbol);

@override
List<Object?> get props => <Object?>[symbol];

@override
List<String> get propNames => ['symbol'];

void example() {
for (var i in range(100, start: 999)) {
print(i.toCommaString()); // 999 1,000 1,001 ... 1,099
}
}
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.