forked from eatvio/eatvio_app
feat(chat): API method info success
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user