firstOption property

Option<T> firstOption

Get the first element of the list. If the list is empty, return None.

Same as head.

Implementation

Option<T> get firstOption => head;