feat(chat): API method info success

This commit is contained in:
2024-05-07 11:59:37 +03:00
parent d9956ed549
commit d537a05fac
5 changed files with 90 additions and 97 deletions

View File

@@ -4,9 +4,11 @@ import 'package:equatable/equatable.dart';
/// This class defines the variables used in the [chat_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class ChatModel extends Equatable {
String? chatID;
ChatModel({String? chatID});
final String chatID;
ChatModel({required String chatID}) : chatID = chatID;
ChatModel copyWith(String chatID) {
return ChatModel(chatID: chatID);