contentType property

  1. @override
String contentType

It return Content Type of response like json or text

Implementation

@override
String get contentType => _response.headers['content-type'] ?? "undefine";