BaseMessageParams constructor Null safety

BaseMessageParams(
  1. {String? data,
  2. String? customType,
  3. PushNotificationDeliveryOption pushOption = PushNotificationDeliveryOption.normal,
  4. List<MessageMetaArray>? metaArrays,
  5. MentionType? mentionType,
  6. List<String>? mentionedUserIds,
  7. int? parentMessageId,
  8. bool replyToChannel = false,
  9. List<User>? mentionedUsers,
  10. bool isPinnedMessage = false}
)

Implementation

BaseMessageParams({
  this.data,
  this.customType,
  this.pushOption = PushNotificationDeliveryOption.normal,
  this.metaArrays,
  this.mentionType,
  this.mentionedUserIds,
  this.parentMessageId,
  this.replyToChannel = false,
  this.mentionedUsers,
  this.isPinnedMessage = false,
});