copyWith method
Implementation
@override
MessageUserShared copyWith({
int? userId,
int? buttonId,
}) =>
MessageUserShared(
userId: userId ?? this.userId,
buttonId: buttonId ?? this.buttonId,
);
@override
MessageUserShared copyWith({
int? userId,
int? buttonId,
}) =>
MessageUserShared(
userId: userId ?? this.userId,
buttonId: buttonId ?? this.buttonId,
);