flutter get last index code example
Example 1: flutter get last element of array
var lst = ["element1" , "element2" , "element3"];
lst.last // -> element3
Example 2: get last element of array flutter
var lst = ["element1" , "element2" , "element3"];
lst.last // -> element3