updateStory method
Implementation
Future<http.Response> updateStory({
required int? storyId,
required String? attachedUrl,
required String? text,
required String? type,
}) {
return put(
Uri.parse(
'$apiURL/story/updateAttachedUrl?id=$storyId&attachedUrl=$attachedUrl&text=$text&type=$type'),
headers: {
"token":
"cnejwi8c9wehnd8fchni2x239jxexnjx2n23i8xn3oifr0cwd32fjnrf453vreve",
"content-type": 'application/json',
});
}