Show array variable from model

Viewed 32

When I want to call an array from the model, I have a problem as in the photo. How can I shoot this sequence without error?

Game(rounts: [
                      Rount(points: [34, 22, 122, 343]),
                      Rount(points: [34,111,23,122]),
                      Rount(points: [454,232,122,1]),
                      Rount(points: [3,344,98,23])
             ]

Error: --> Cannot assign value of type '[Rount]' to type 'String'

enter image description here

0 Answers
Related