Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SYNC ToJson() #296

Open
AmriZakariya opened this issue Mar 31, 2022 · 1 comment
Open

SYNC ToJson() #296

AmriZakariya opened this issue Mar 31, 2022 · 1 comment

Comments

@AmriZakariya
Copy link

Hello
please how can i sync toJson function
so that return file insted of Future

toJson: (value) async {
MultipartFile file = await MultipartFile.fromFile(value?.path ?? "",filename: value?.name ?? "");
return file ;

  },
@vasilich6107
Copy link

#312 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants