getAllBoards method

Future<Map<String, dynamic>> getAllBoards({
  1. int? startAt,
  2. int? maxResults,
  3. Map<String, dynamic>? type,
  4. String? name,
  5. String? projectKeyOrId,
  6. String? accountIdLocation,
  7. String? projectLocation,
  8. bool? includePrivate,
  9. bool? negateLocationFiltering,
  10. String? orderBy,
  11. String? expand,
  12. int? filterId,
})

Returns all boards. This only includes boards that the user has permission to view.

Implementation

Future<Map<String, dynamic>> getAllBoards(
    {int? startAt,
    int? maxResults,
    Map<String, dynamic>? type,
    String? name,
    String? projectKeyOrId,
    String? accountIdLocation,
    String? projectLocation,
    bool? includePrivate,
    bool? negateLocationFiltering,
    String? orderBy,
    String? expand,
    int? filterId}) async {
  return await _client.send(
    'get',
    'rest/agile/1.0/board',
    queryParameters: {
      if (startAt != null) 'startAt': '$startAt',
      if (maxResults != null) 'maxResults': '$maxResults',
      if (type != null) 'type': '$type',
      if (name != null) 'name': name,
      if (projectKeyOrId != null) 'projectKeyOrId': projectKeyOrId,
      if (accountIdLocation != null) 'accountIdLocation': accountIdLocation,
      if (projectLocation != null) 'projectLocation': projectLocation,
      if (includePrivate != null) 'includePrivate': '$includePrivate',
      if (negateLocationFiltering != null)
        'negateLocationFiltering': '$negateLocationFiltering',
      if (orderBy != null) 'orderBy': orderBy,
      if (expand != null) 'expand': expand,
      if (filterId != null) 'filterId': '$filterId',
    },
  ) as Map<String, Object?>;
}