Created
March 21, 2022 06:50
-
-
Save dev4jam/d1003800be7eb7f55773dfb89fc81bb8 to your computer and use it in GitHub Desktop.
Isolate function call
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
final req = _PreparedNetworkRequest<Model>( | |
request, | |
parser, | |
_dio!, | |
{..._headers, ...(request.headers ?? {})}, | |
onSendProgress, | |
onReceiveProgress, | |
); | |
final result = await compute( | |
executeRequest<Model>, | |
req, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment