Skip to content

Commit

Permalink
refactor(dynamite): remove unnecessary casts
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
  • Loading branch information
Leptopoda committed Dec 28, 2023
1 parent 86121af commit 5f18006
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Iterable<String> resolveMimeTypeEncode(
if (dartParameterNullable) {
yield 'if ($parameterName != null) {';
}
yield '_body = utf8.encode(${result.encode(parameterName, mimeType: mimeType)}) as Uint8List;';
yield '_body = utf8.encode(${result.encode(parameterName, mimeType: mimeType)});';
if (dartParameterNullable) {
yield '}';
}
Expand Down

0 comments on commit 5f18006

Please sign in to comment.