getScreens method
Returns a paginated list of all screens or those specified by one or more screen IDs.
Permissions required: Administer Jira global permission.
Implementation
Future<PageBeanScreen> getScreens(
    {int? startAt,
    int? maxResults,
    List<int>? id,
    String? queryString,
    List<String>? scope,
    String? orderBy}) async {
  return PageBeanScreen.fromJson(await _client.send(
    'get',
    'rest/api/3/screens',
    queryParameters: {
      if (startAt != null) 'startAt': '$startAt',
      if (maxResults != null) 'maxResults': '$maxResults',
      if (id != null) 'id': id.map((e) => '$e').join(','),
      if (queryString != null) 'queryString': queryString,
      if (scope != null) 'scope': scope.map((e) => e).join(','),
      if (orderBy != null) 'orderBy': orderBy,
    },
  ));
}