ScheduledUserMessageParams constructor Null safety

ScheduledUserMessageParams(
  1. {required int scheduledAt,
  2. required String message,
  3. bool sendPush = true,
  4. bool isSilent = false,
  5. bool markAsRead = true,
  6. String? dedupId,
  7. String? apnsBundleId,
  8. AppleCriticalAlertOptions? appleCriticalAlertOptions,
  9. List<String>? translationTargetLanguages,
  10. String? data,
  11. String? customType,
  12. PushNotificationDeliveryOption pushOption = PushNotificationDeliveryOption.normal,
  13. MentionType mentionType = MentionType.users,
  14. List<String>? mentionedUserIds,
  15. List<MessageMetaArray>? metaArrays,
  16. String? reqId}
)

Initializes this params instance with a text message and the date to send the message.

Implementation

ScheduledUserMessageParams({
  required this.scheduledAt,
  required this.message,
  this.sendPush = true,
  this.isSilent = false,
  this.markAsRead = true,
  this.dedupId,
  this.apnsBundleId,
  this.appleCriticalAlertOptions,
  this.translationTargetLanguages,
  this.data,
  this.customType,
  this.pushOption = PushNotificationDeliveryOption.normal,
  this.mentionType = MentionType.users,
  this.mentionedUserIds,
  this.metaArrays,
  this.reqId,
});