isMultipart property
bool
isMultipart
Whether this request has a multipart body.
Requests are considered to have a multipart body if they have a
Content-Type
header with a multipart
type and a valid boundary
parameter as defined by section 5.1.1 of RFC 2046.
Implementation
bool get isMultipart => _extractMultipartBoundary() != null;