标签: dart flutter
如何更改List [index] .fieldname flutter的值?
答案 0 :(得分:4)
class Person { String firstName; String lastName; } //assuming contacts is a List<Person> contacts[index].firstName = 'Tony';