copyWith abstract method
Message
copyWith({
- User? author,
- int? createdAt,
- String? id,
- Map<
String, dynamic> ? metadata, - String? remoteId,
- Message? repliedMessage,
- String? roomId,
- bool? showStatus,
- Status? status,
- String? text,
- int? updatedAt,
override
Creates a copy of the message with an updated data.
Implementation
@override
Message copyWith({
User? author,
int? createdAt,
String? id,
Map<String, dynamic>? metadata,
String? remoteId,
Message? repliedMessage,
String? roomId,
bool? showStatus,
Status? status,
String? text,
int? updatedAt,
});