copyWith method

ChatMessageReadMarkerViewModel copyWith({
  1. String? userId,
  2. DateTime? createdAt,
})

Implementation

ChatMessageReadMarkerViewModel copyWith(
    {String? userId, DateTime? createdAt}) {
  return ChatMessageReadMarkerViewModel(
      userId: userId ?? this.userId, createdAt: createdAt ?? this.createdAt);
}