Skip to content

Commit

Permalink
improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Virkus committed Aug 9, 2020
1 parent 519e013 commit cdb7b63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/mime_message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,8 @@ class MimeMessage extends MimePart {

/// Retrieves all content info of parts with the specified [disposition] `Content-Type`.
/// By default the content info with `ContentDisposition.attachment` are retrieved.
/// Note that either the message contents or the BODYSTRUCTURE is required to reliably list all matching content elements.
/// Typically this used to list all attachments of a message.
/// Note that either the message contents (`BODY[]`) or the `BODYSTRUCTURE` is required to reliably list all matching content elements.
List<ContentInfo> findContentInfo(
{ContentDisposition disposition = ContentDisposition.attachment}) {
var result = <ContentInfo>[];
Expand Down

0 comments on commit cdb7b63

Please sign in to comment.