copyWith abstract method

Message copyWith({
  1. String? id,
  2. String? timestamp,
  3. bool? isLoading,
  4. List<MessageElement>? elements,
  5. bool? isFailed,
  6. double? width,
  7. bool? isRead,
})

Implementation

Message copyWith({
  String? id,
  String? timestamp,
  bool? isLoading,
  List<MessageElement>? elements,
  bool? isFailed,
  double? width,
  bool? isRead,
});