copyWith abstract method

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