From eb3fa4fe32bd1a1522b8ebdebd3c059b4277c3c4 Mon Sep 17 00:00:00 2001 From: Victor Carreras <34163765+vicajilau@users.noreply.github.com> Date: Sat, 8 Feb 2025 19:06:17 +0100 Subject: [PATCH] Fixed linter issues --- lib/src/http/http_content_type.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/src/http/http_content_type.dart b/lib/src/http/http_content_type.dart index 74e6d34..a4c043f 100644 --- a/lib/src/http/http_content_type.dart +++ b/lib/src/http/http_content_type.dart @@ -248,7 +248,9 @@ class _HeaderValue { if (char == " " || char == "\t" || char == valueSeparator || - char == parameterSeparator) break; + char == parameterSeparator) { + break; + } index++; } return s.substring(start, index); @@ -280,7 +282,9 @@ class _HeaderValue { char == "\t" || char == "=" || char == parameterSeparator || - char == valueSeparator) break; + char == valueSeparator) { + break; + } index++; } return s.substring(start, index).toLowerCase();