settings method

Future<Settings> settings({
  1. String? apiKey,
})

Implementation

Future<Settings> settings({String? apiKey}) async {
  return Settings.fromJson(
    await _request(
      Uri.parse(
        '$_baseUrl/settings${apiKey != null ? '?apikey=$apiKey' : ''}',
      ),
    ),
  );
}