getFaculties method

Future getFaculties (
  1. [Map<String, dynamic> params]
)

Returns a list of faculties (i.e., university departments).

Params:

university_id (integer) University ID.

offset (integer) Offset needed to return a specific subset of faculties.

count (integer) Number of faculties to return., default: 100, max: 10000

Implementation

Future<dynamic> getFaculties([Map<String, dynamic> params]) async {
  return _api.request('database.getFaculties', {
    ...?params,
  });
}