toJsonDictionary method
Converts the trigger to a JSON dictionary. @returns The JSON representation of the trigger.
Implementation
@override
Map<String, dynamic> toJsonDictionary() {
Map<String, dynamic> dictionary = super.toJsonDictionary();
dictionary['days'] = days;
return dictionary;
}