first method
T?
first()
Returns the first item in the list, or null if there is none. @return {T|null} This returns null if there are no items in the list.
Implementation
T? first() => _i4.callMethod(
this,
'first',
[],
);