From 1c8d2da48728d8a1d1075ab1b29aa375a7c2a70a Mon Sep 17 00:00:00 2001 From: kholdunn <40987461+kholdunn@users.noreply.github.com> Date: Tue, 8 Dec 2020 11:07:08 +0300 Subject: [PATCH] fix typo --- source/docs/http/file_upload.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/http/file_upload.md b/source/docs/http/file_upload.md index a0c174ee7..0615fdbdd 100644 --- a/source/docs/http/file_upload.md +++ b/source/docs/http/file_upload.md @@ -21,7 +21,7 @@ class MyController extends ResourceController { } @Operation.post() - Future postForm() async {} + Future postForm() async { final boundary = request.raw.headers.contentType.parameters["boundary"]; final transformer = MimeMultipartTransformer(boundary); final bodyBytes = await request.body.decode>();