utils/utils library

Functions

capitalizeFirstLetterOfEveryWord(String text) String
Utility function to capitalize the first letter of every word
convertInToSentenceCase(String? text) String?
Utility function to capitalize the first letter of the first word and make all other letters lowercase in the entire message
getAssociatedValue(String code, List<ValueMapper> valueMapper) String
Helper function to get the associated value from the value mapper
truncateWithEllipsis(int maxLength, String text) String
truncate string with after a max length
viewDocument(String url) → void