getOctocat method
Returns an ASCII Octocat with the specified text
.
Implementation
Future<String> getOctocat([String? text]) {
final params = <String, dynamic>{};
if (text != null) {
params['s'] = text;
}
return github.request('GET', '/octocat', params: params).then((response) {
return response.body;
});
}