Get the last element of the list. If the list is empty, return None.
Option<T> get lastOption => isEmpty ? none() : some(last);