UserMessageParams.withMessage constructor Null safety
- UserMessage userMessage,
- {bool? deepCopy}
Implementation
UserMessageParams.withMessage(UserMessage userMessage, {bool? deepCopy})
: message = userMessage.message,
pollId = userMessage.poll?.id,
targetLanguages = userMessage.translations.keys.toList(),
super.withMessage(userMessage, deepCopy: deepCopy);