copyWith method
Implementation
Chat copyWith({
String? id,
String? message,
String? url,
String? type,
String? sendAt,
String? originalId,
String? senderId,
}) =>
Chat(
id: id ?? this.id,
message: message ?? this.message,
url: url ?? this.url,
type: type ?? this.type,
sendAt: sendAt ?? this.sendAt,
originalId: originalId ?? this.originalId,
senderId: senderId ?? this.senderId,
);