copyWith method

CreateNewSupergroupChat copyWith({
  1. String? title,
  2. bool? isChannel,
  3. String? description,
  4. ChatLocation? location,
  5. bool? forImport,
})

Implementation

CreateNewSupergroupChat copyWith({
  String? title,
  bool? isChannel,
  String? description,
  ChatLocation? location,
  bool? forImport,
}) => CreateNewSupergroupChat(
  title: title ?? this.title,
  isChannel: isChannel ?? this.isChannel,
  description: description ?? this.description,
  location: location ?? this.location,
  forImport: forImport ?? this.forImport,
);