getGraphQLPayloadUserRecentAcSubmissions function
String
getGraphQLPayloadUserRecentAcSubmissions(
{ - required String username,
- required int pageSize,
})
Implementation
String getGraphQLPayloadUserRecentAcSubmissions({required String username, required int pageSize}) => r'''{
"query": "\n query recentAcSubmissions($username: String!, $limit: Int!) {\n recentAcSubmissionList(username: $username, limit: $limit) {\n id\n title\n titleSlug\n timestamp\n }\n}\n ",
"variables": {
"username": "#username",
"limit": #pageSize
}
}'''
.replaceAll('#username', username)
.replaceAll('#pageSize', pageSize.toString());