copyWith method

MessageViewer copyWith({
  1. int? userId,
  2. int? viewDate,
})

Implementation

MessageViewer copyWith({
  int? userId,
  int? viewDate,
}) =>
    MessageViewer(
      userId: userId ?? this.userId,
      viewDate: viewDate ?? this.viewDate,
    );