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