copyWith method

  1. @override
MessageUserShared copyWith({
  1. int? userId,
  2. int? buttonId,
})
override

Implementation

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