setContentType method
- HeaderContentType type = HeaderContentType.applicationJson,
Implementation
void setContentType({
HeaderContentType type = HeaderContentType.applicationJson,
}) {
_header['Content-Type'] = type.value;
}
void setContentType({
HeaderContentType type = HeaderContentType.applicationJson,
}) {
_header['Content-Type'] = type.value;
}