how to access the last element of a list in dart code example
Example: last element in list dart
var lst = ["element1" , "element2" , "element3"];
lst.last // -> element3
var lst = ["element1" , "element2" , "element3"];
lst.last // -> element3