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}
)

Implementation

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