copyWith abstract method

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

Creates a copy of the message with an updated data.

Implementation

@override
Message copyWith({
  User? author,
  int? createdAt,
  double? height,
  String? id,
  Map<String, dynamic>? metadata,
  String? name,
  String? remoteId,
  Message? repliedMessage,
  String? roomId,
  bool? showStatus,
  num? size,
  Status? status,
  int? updatedAt,
  String? uri,
  double? width,
});