copyWith method

ChatNotificationContent copyWith({
  1. int? retryCount,
})

Implementation

ChatNotificationContent copyWith({int? retryCount}) {
  return ChatNotificationContent(
    id: id,
    roomId: roomId,
    title: title,
    body: body,
    token: token,
    platform: platform,
    profile: profile,
    retryCount: retryCount ?? this.retryCount,
    expiresAt: expiresAt,
  );
}