Finds the first Charset declared in the media types' charset parameter.
charset
String? get charset => mediaTypes.mapNotNull((it) => it.charset).firstOrNull;