list method
Implementation
Future<List<Snippet>> list({int? page, int? perPage}) async {
final uri = _project.buildUri(['snippets'], page: page, perPage: perPage);
final jsonList = _responseToList(await _gitLab.request(uri));
return jsonList.map((json) => new Snippet.fromJson(json)).toList();
}