getSocialAccountsUser method
Future<SocialAccounts>
getSocialAccountsUser({
- required String username,
- int? since,
- int perPage = 30,
- GithubClientAuth? githubClientAuth,
Implementation
Future<github_scheme_respond_scheme.SocialAccounts> getSocialAccountsUser({
required String username,
int? since,
int perPage = 30,
GithubClientAuth? githubClientAuth,
}) async {
Map<String, String> jsonData = {
"per_page": "${perPage}",
};
if (since != null) {
jsonData["since"] = "${since}";
}
Map result = await invoke(
uriPath: "users/${username}/social_accounts",
uriQueryParameters: jsonData,
statusCodes: [200],
specialTypeName: "socialAccount",
);
return github_scheme_respond_scheme.SocialAccounts(
result,
);
}