public function listTasklists(
        array $queryParameters = []
    ): array {
        $parameters = [
            'maxResults' => 100,
        ];

        $parameters = array_merge($parameters, $queryParameters);

        return $this
            ->taskService
            ->tasklists
            ->listTasklists($parameters)
            ->getItems();
    }
public function listTasklists(
        array $queryParameters = []
    ): array {
        $parameters = [
            'maxResults' => 100,
        ];

        $parameters = array_merge($parameters, $queryParameters);

        return $this
            ->taskService
            ->tasklists
            ->listTasklists($parameters)
            ->getItems();
    }
public function listTasklists ( array $ queryParameters = [ ] ) : array { $ parameters = [ 'maxResults' => 100 , ] ; $ parameters = array_merge ( $ parameters , $ queryParameters ) ; return $ this -> taskService -> tasklists -> listTasklists ( $ parameters ) -> getItems ( ) ; }
Get all task lists

@param string $maxResults  Maximum number of task lists returned on one page. Optional. The default is 100.
@param string $pageToken   Token specifying the result page to return. Optional.
@param string $fields      Which fields to include in a partial response.

@link https://developers.google.com/google-apps/tasks/v1/reference/tasklists/list

@return array
Get all task lists