copyWith method

ClearAllDraftMessages copyWith({
  1. bool? excludeSecretChats,
})

Implementation

ClearAllDraftMessages copyWith({
  bool? excludeSecretChats,
}) => ClearAllDraftMessages(
  excludeSecretChats: excludeSecretChats ?? this.excludeSecretChats,
);