utils/Util library
Functions
-
generateRandomString(
int length, {String chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'}) → String - Function to generate a random string of specified length. Optionally allows specifying a custom set of characters to use.
-
isFrequencyValueValid(
AARecurringFrequencyUnit? unit, int? value) → bool - Function to check if the frequency unit and value passed are valid