Adds an element to the end of the list.
Example:
var list = new LinkedList<string> (GLib.str_equal);
list.addLast ("a");
list.addLast ("b");
assert (list.peekLast () == "b");
| element |
the element to add. |