'How do you change the value of a List[index].fieldname flutter?
How do you change the value of a List[index].fieldname flutter?
Solution 1:[1]
class Person {
String firstName;
String lastName;
}
//assuming contacts is a List<Person>
contacts[index].firstName = 'Tony';
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Günter Zöchbauer |
