copyWith method

CreatePrivateChat copyWith({
  1. int? userId,
  2. bool? force,
})

Implementation

CreatePrivateChat copyWith({
  int? userId,
  bool? force,
}) =>
    CreatePrivateChat(
      userId: userId ?? this.userId,
      force: force ?? this.force,
    );