Files
eatvio_app/lib/presentation/chat/chat_screen/models/chat_model.dart

18 lines
465 B
Dart

// ignore_for_file: must_be_immutable
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});
ChatModel copyWith(String chatID) {
return ChatModel(chatID: chatID);
}
@override
List<Object?> get props => [chatID];
}