getSchools method

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

Returns a list of schools.

Params:

q (string) Search query.

city_id (integer) City ID.

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

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

Implementation

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