json property Null safety

ContentType json
final

Content type for JSON using UTF-8 encoding.

application/json; charset=utf-8

Implementation

static final json = new ContentType("application", "json", charset: "utf-8");