0

I am facing an issue with deeplink part. When I try to jsonEncode, I got this error as shown in the attachment:

enter image description here

its-me-mahmud
  • 690
  • 1
  • 7
  • 14

1 Answers1

2

The JSON is not valid, hence the FormatException.

The logo key is not well formatted as it doesn't have an enclosing double quote ".

This is what you have right now.

"logo": "https://firebasestorage.googleapis.com/ve/b/..appspot.com/o/Stores/image_picker_78CC1DE1-00A6-4479-924F-8D0662B740B-48237-000060FE8F8282CB.jpg?alt=media,

This is what the key supposed to look like in the Map.

"logo": "https://firebasestorage.googleapis.com/ve/b/..appspot.com/o/Stores/image_picker_78CC1DE1-00A6-4479-924F-8D0662B740B-48237-000060FE8F8282CB.jpg?alt=media",
Tayo.dev
  • 1,546
  • 3
  • 21
  • 31
  • I have traced the jsonEncode data object, and I found that logo is set correctly with enclosing double quote ". The issue happened when I try to read/fetch the deep link. – Yousuf alharrasi May 15 '23 at 06:17