copyWith method
Implementation
UnsentMessages copyWith({
MessageType? messageType,
String? message,
String? messageTime,
String? filePath,
String? platform,
String? name,
String? conversationUid,
}) {
return UnsentMessages(
messageType: messageType ?? this.messageType,
message: message ?? this.message,
messageTime: messageTime ?? this.messageTime,
filePath: filePath ?? this.filePath,
platform: platform ?? this.platform,
name: name ?? this.name,
conversationUid: conversationUid ?? this.conversationUid,
);
}