copyWith method

  1. @override
MessageSenderUser copyWith({
  1. int? userId,
})
override

Implementation

@override
MessageSenderUser copyWith({
  int? userId,
}) => MessageSenderUser(
  userId: userId ?? this.userId,
);