Skip to main content

foundation-notifications.notificationbuilder.withcreatedat

Home > @genesislcap/foundation-notifications > NotificationBuilder > withCreatedAt

NotificationBuilder.withCreatedAt() method

Warning: This API is now obsolete.

Use showNotificationBanner/Dialog/Snackbar/Toast instead or provide a NotificationStructure object when used with an event for a notification listener.

Add the creation date to notification

Signature:

withCreatedAt(createdAt: Date): NotificationBuilder;

Parameters

Parameter

Type

Description

createdAt

Date

Date

Returns:

NotificationBuilder