getGraphQLPayloadUserProfileCalendar function
String
getGraphQLPayloadUserProfileCalendar(
{ - required String username,
})
Implementation
String getGraphQLPayloadUserProfileCalendar({required String username}) => r'''{
"query": "\n query userProfileCalendar($username: String!, $year: Int) {\n matchedUser(username: $username) {\n userCalendar(year: $year) {\n activeYears\n streak\n totalActiveDays\n dccBadges {\n timestamp\n badge {\n name\n icon\n }\n }\n submissionCalendar\n }\n }\n}\n ",
"variables": {
"username": "#username"
}
}'''
.replaceAll('#username', username);