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