copyWith method

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

Implementation

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