Creates an alarm object that will run a callback, either at a given time or after a certain duration.
The alarm will not start its' countdown until start is called if given a DateTime. If the duration is negative
or the time to trigger on has already passed, the alarm will trigger immediatly
This class can be used to log in using a FlutterAppAuth. It contains several helper methods
and stores a lot of parameters statically to help set up the project.
Keep in mind this is designed specifically with keycloak in mind and
has not been tested with other auth providers
This class will 'debounce' a function which prevents it from
being called too many times. Ideal for search bars or other situations where a call may be trigged on
several rapid events.
As dart does not allow varargs or something similar,
pass in a class T to be your arguments.
When run is called, it will wait (duration) before being called.
If run is called again before duration is up, duration will be reset
This class contains functions related to getting random numbers.
You can set the see with setSeed but keep in mind this will reset Random instance
when called