mixins/utils library

Functions

decodeEscapes(String input, {bool replaceQuot = false}) String
Decodes Unicode escapes.
getDatestamp() int
Returns the number of days since January 1, 1970.
htmlToTxt(String htmlText) String
Sanitize tags from HTML.
prepareLikeEndpoint(dynamic rating) String
Returns endpoint according to rating.
prepareOrderParams(LibraryOrderType order) String
Returns request params belonging to a specific sorting order.
validateOrderParameter(LibraryOrderType? order) → void
Validate the provided order, if any.

Typedefs

LibraryOrderType = String
Literal a_to_z, z_to_a, or recently_added.