CustomNotification constructor

CustomNotification({
  1. required int id,
  2. required String title,
  3. required String body,
  4. DataPayload? payload,
  5. RemoteMessage? remoteMessage,
})

Implementation

CustomNotification({
  required this.id,
  required this.title,
  required this.body,
  this.payload,
  this.remoteMessage,
});