last method

T? last()

Returns the last item in the list, or null if these is none. @return {T|null} This returns null if there are no items in the list. @since 1.5

Implementation

T? last() => _i4.callMethod(
      this,
      'last',
      [],
    );