extension_dart_tools 1.4.1
extension_dart_tools: ^1.4.1 copied to clipboard
Tools functions and extensions in dart
1.4.1 #
- Added
Nullableclass to the exported classes.
1.4.0 #
- Added
Nullableclass to handle nullable values.
1.3.1 #
- Fixed a bug in the
MockMixinclass. TheresetAllTestValuesmethod was not resetting the new generation method call list. - Fixed warnings with latest dart linter version.
1.3.0 #
DateTime extensions #
- Added
isSameDayextension toDateTimeclass. It checks if twoDateTimeinstances are in the same day, ignoring the time.
1.2.0 #
String extensions #
- Added
isValidPhoneNumberextension toStringclass. Pretty basic since it just removes all allowed special characters +, (, ), -, dots and spaces and checks if the remaining characters are only digits.
1.1.0 #
MockMixin #
- moved internally inside the test folder
- added a new class named
MethodCallto represent a method call with its name and arguments - added more functions to add method calls and to check existing method calls
- this new api also forward the information to the previous api with call names and arguments
- this new one is recommended as is can handle multiple calls of the same method with different arguments, which the previous method can't
1.0.0 #
- Initial version.