このプロパティは、リストの最初の要素を返します。
List.first
void main() { var lst = new List(); lst.add(12); lst.add(13); print("The first element of the list is: ${lst.first}"); }
次の output -が生成されます。
The first element of the list is: 12