copyWith method

UpdateNewChat copyWith({
  1. Chat? chat,
})

Implementation

UpdateNewChat copyWith({
  Chat? chat,
}) =>
    UpdateNewChat(
      chat: chat ?? this.chat,
    );