pop method

T? pop()

Returns the last item in the list and removes it from the list, or just return null if these is none. Use #add to push an item onto the end of the list. Use #last to get the last item without reducing the length of the list. @return {T|null} This returns null if there are no items in the list. @since 1.5

Implementation

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