forked from eatvio/eatvio_app
20 lines
498 B
Dart
20 lines
498 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 {
|
|
final String chatID;
|
|
|
|
ChatModel({required String chatID}) : chatID = chatID;
|
|
|
|
ChatModel copyWith(String chatID) {
|
|
return ChatModel(chatID: chatID);
|
|
}
|
|
|
|
@override
|
|
List<Object?> get props => [chatID];
|
|
}
|