dartbag 0.6.0
dartbag: ^0.6.0 copied to clipboard
A grab-bag of miscellaneous, lightweight utility code for Dart.
0.6.0 #
- Added
hoursOnly,minutesOnly,secondsOnly,millisecondsOnly, andmicrosecondsOnlyextension getters toDuration. - Added a
tryParseDurationfunction. - Added a
mergeMapsfunction. - Require Dart 2.19.0 and enable new lints.
- Disable the
one_member_abstractslint.
0.5.0 #
- Renamed the
iterableslibrary tocollection. - Added a
compareIterablesfunction. - Added a
LinkedHashMap.sortextension method. - Added an
isSubtype<T1, T2>generic function. - Adjusted some timing-based tests to be less flaky by instead checking if they pass most of the time.
- Require Dart 2.18.0.
0.4.1 #
- Added a
Future.castextension method. - Added a
List.sortWithAsyncKeyextension method as an asynchronous version ofList.sortWithKey.
0.4.0 #
- Removed
RestartableTimer.package:asyncalready provides such a class. - Added a
timeAsyncOperationfunction as an asynchronous version oftimeOperation. - Added a
parseOptionValueextension method onpackage:args'sArgResults. - Added a
matcherlibrary with atoStringMatchesfunction.
0.3.0 #
- Added a
List.rotateLeftextension method. - Allow the
analysis_options.yamlfile to be consumed by other packages. - Moved
timeOperationfrommisc.darttodebug.dart. - Fixed
int.padLeftto work with negative integers. - Modified
RepeatableRandomto allow callers to specify the underlying pseudo-random-number generator. - Updated the
README.mdfile.
0.2.0 #
- Initial published version.