Sibi Kumar
Sibi Kumar

Reputation: 92

In my model class normaly working but it show error now iam working i don't know what is the reason

enter image description here

as you see in this picture it shows error when iam using this model class how to solve this problem.

I tried but it's not working.

Upvotes: 0

Views: 26

Answers (2)

Gwhyyy
Gwhyyy

Reputation: 9196

the Map's key/value pairs are linked with a : not a =, so in your code instead of doing this:

key = value,

change it to this:

key: value,

and the same thing for your class.

Upvotes: 1

manhtuan21
manhtuan21

Reputation: 3455

You are wrong syntax, replace all of yours = with : will solve problem

Upvotes: 1

Related Questions