copyWith abstract method

  1. @override
Message copyWith({
  1. User? author,
  2. int? createdAt,
  3. String? id,
  4. Map<String, dynamic>? metadata,
  5. String? remoteId,
  6. Message? repliedMessage,
  7. String? roomId,
  8. bool? showStatus,
  9. Status? status,
  10. 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,
  int? updatedAt,
});