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