TriggerContext constructor

const TriggerContext({
  1. required String currentDate,
  2. Map<String, dynamic>? weather,
  3. List<Map<String, dynamic>> userActions = const [],
  4. Map<String, dynamic> userPreferences = const {},
  5. Set<String> dismissedWidgets = const {},
  6. Map<String, dynamic> developerParams = const {},
})

Implementation

const TriggerContext({
  required this.currentDate,
  this.weather,
  this.userActions = const [],
  this.userPreferences = const {},
  this.dismissedWidgets = const {},
  this.developerParams = const {},
});