WidgetData constructor

const WidgetData({
  1. String? title,
  2. String? subtitle,
  3. String? body,
  4. String? imageUrl,
  5. String? iconName,
  6. Map<String, dynamic>? customData,
  7. DateTime? timestamp,
})

Creates a new WidgetData instance.

Implementation

const WidgetData({
  this.title,
  this.subtitle,
  this.body,
  this.imageUrl,
  this.iconName,
  this.customData,
  this.timestamp,
});