Created
March 21, 2022 06:46
-
-
Save dev4jam/6c4e4252389650909664a687eb71b678 to your computer and use it in GitHub Desktop.
Body union
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dynamic body = request.data.whenOrNull( | |
json: (data) => data, | |
text: (data) => data, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment