UserMessageParams.withMessage constructor Null safety

UserMessageParams.withMessage(
  1. UserMessage userMessage,
  2. {bool? deepCopy}
)

Implementation

UserMessageParams.withMessage(UserMessage userMessage, {bool? deepCopy})
    : message = userMessage.message,
      targetLanguages = userMessage.translations.keys.toList(),
      super.withMessage(userMessage, deepCopy: deepCopy);