copyWith method

ChatAdministrator copyWith({
  1. int? userId,
  2. String? customTitle,
  3. bool? isOwner,
})

Implementation

ChatAdministrator copyWith({
  int? userId,
  String? customTitle,
  bool? isOwner,
}) => ChatAdministrator(
  userId: userId ?? this.userId,
  customTitle: customTitle ?? this.customTitle,
  isOwner: isOwner ?? this.isOwner,
);