getUserProfileCalendar method

Future<UserCalendar> getUserProfileCalendar({
  1. required String username,
})

Implementation

Future<UserCalendar> getUserProfileCalendar({required String username}) async {
  final data = await makeGraphQLRequest(getGraphQLPayloadUserProfileCalendar(username: username));
  return UserCalendar.fromJson(data['data']['matchedUser']['userCalendar']);
}