feat(consultant): add requests for upload photo, register consultant profile, state manager

This commit is contained in:
mso7nueh
2024-10-04 15:07:07 +03:00
parent 15f435e958
commit 26820997fc
22 changed files with 1240 additions and 12 deletions

View File

@@ -81,8 +81,8 @@ class BlogPostCreateBloc extends Bloc<BlogPostCreateEvent, BlogPostCreateState>
FormData formData = FormData.fromMap({
'title': title,
'description': description,
'youtube_url': youtubeURL,
'state': 'active',
'youtube_url': youtubeURL,
'image': await MultipartFile.fromFile(image!.path, filename: image.name),
});