toJsonDictionary method

  1. @override
Map<String, dynamic> toJsonDictionary()
override

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;
}