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['times'] = times;
return dictionary;
}