parts property

Stream<MimeMultipart> get parts

Implementation

Stream<MimeMultipart> get parts {
  final boundary = _extractMultipartBoundary();
  if (boundary == null) {
    throw StateError('Not a multipart request.');
  }

  return MimeMultipartTransformer(boundary).bind(read()).map((part) => _CaseInsensitiveMultipart(part));
}