cubos_extensions 1.0.0 cubos_extensions: ^1.0.0 copied to clipboard
Cubos extensions
Cubos Extensions #
This is a helper library with some extensions we use in many Cubos' projects.
Features #
String Extensions #
* cleanCpf
* cleanPhone
* isNumeric
* isNullOrBlank
* isNotNullOrBlank
* capitalize
* capitalizeWords
* firstName
* isBrazilianCountryOrState
* hasUppercase
* hasLowercase
* hasLetter
* hasDigits
* hasSpecialCharacters
* toDateTime
* toInt
DateTime Extensions #
* toDateTimeStr
* toIsoStr
* subtractYears
* toWeekdayStr
* toTimeStr
* toMonthStr (pt-br)
* toCompleteDateStr
* toDateAndTimeStr
List
* lastIndex
* copyOf
* removeLastWhere
* isNullOrEmpty
List
* sum
Duration Extensions #
* toTimeStr
Let's grow together! #
You can support us making your own contributions! Report bugs or unexpectec behaviors and suggest new features on the issues page from the [Github repository](). All the Pull Requests must have complete unit tests as requirement to be accepted.