prime 0.3.0
prime: ^0.3.0 copied to clipboard
A library of useful, reusable, methods and extensions for Dart. See also `flutter_prime` for Flutter apps.
0.0.1-alpha.1 #
- Initial pre-release
0.0.1-alpha.2 #
Additions: #
Extensions:
NumPrime:highest: Instance method that returns the highest value ofthisorother.lowest: Instance method that returns the lowest value ofthisorother.inBetween: Instance method that checks ifthisis between two specified values.
0.0.1-alpha.3 #
Notes: #
- Dropped dependency
intldown to^0.18.0(from^0.18.1) to avoid conflicts.
Additions: #
Extensions:
-
IterableStringPrime:whereNotEmpty: Instance method that returns all non-empty values in the source collection.
-
IterableOptionalStringPrime:whereNotEmpty: Instance method that returns all non-empty values in the source collection.
0.0.1-alpha.4 #
Notes: #
- Added default values to the
parseOrDefaultdefaultValueparameters. - Renamed the
build.shscript toprebuild.shto be more accurate.
Additions: #
Extensions:
-
IntPrime:parseOrNull: Static method that parses the given input to anintif possible, otherwise returnsnull.parseOrDefault: Static method that parses the given input to anintif possible, otherwise returnsdefaultValue.
-
DoublePrime:parseOrNull: Static method that parses the given input to adoubleif possible, otherwise returnsnull.parseOrDefault: Static method that parses the given input to adoubleif possible, otherwise returnsdefaultValue.