frequency library

Classes

Frequency
this module would ideally be used in healthcare apps context as it was built with that in mind this class is the central class of the module, user is advised to interact only with it. user objective is to successfully instantiate an instance of this class for the frequency desired, then user can call instance method getNextFreq() to get a string represents the next date time occurrence of this frequency. you can use it in two ways: 1- build from FHIR resource according to the guideline defined here http://www.hl7.org/fhir/datatypes.html#Timing passing a fhir Timing.repeat Map to the static class method Frequency.buildFromFHIRRepeat(Map<String, dynamic> fhirMap, String fallback_text) 2- create custom frequencies using this class constructors: