concat method

  1. @override
SystemChatMessage concat(
  1. ChatMessage other
)
override

Merges this message with another by concatenating the content.

Implementation

@override
SystemChatMessage concat(final ChatMessage other) {
  if (other is! SystemChatMessage) {
    return this;
  }
  return SystemChatMessage(content: content + other.content);
}