Flutter mediatype code example Example: flutter mediaType isnt define It looks like you need to add a dependency and import to http_parser