NotificationLocalization constructor

NotificationLocalization({
  1. String? title,
  2. String? body,
  3. String? summary,
  4. String? largeIcon,
  5. String? bigPicture,
  6. Map<String, String>? buttonLabels,
})

Creates a new instance of the NotificationLocalization class. If any of the respective parameters is set to null, the original content is preserved.

The optional title parameter is a string that represents the title of the notification.

The optional body parameter is a string that represents the body text of the notification.

The optional summary parameter is a string that represents a brief summary, subtitle or additional context for the notification.

The optional largeIcon parameter is a string that represents the name or path of an image file that should be used as the large icon for the notification, for cases where the image contains some text that also needs translation.

The optional bigPicture parameter is a string that represents the name or path of an image file that should be used as the big picture for the notification, for cases where the image contains some text that also needs translation.

The optional buttonLabels parameter is a map that contains the localized labels for the action buttons that are associated with the notification.

Implementation

NotificationLocalization({
  this.title,
  this.body,
  this.summary,
  this.largeIcon,
  this.bigPicture,
  this.buttonLabels,
});