copyWith method

  1. @override
MessageChatSetBackground copyWith({
  1. int? oldBackgroundMessageId,
  2. ChatBackground? background,
})
override

Implementation

@override
MessageChatSetBackground copyWith({
  int? oldBackgroundMessageId,
  ChatBackground? background,
}) =>
    MessageChatSetBackground(
      oldBackgroundMessageId:
          oldBackgroundMessageId ?? this.oldBackgroundMessageId,
      background: background ?? this.background,
    );