getProfilePic method

Future<String?> getProfilePic()

Returns Profile Pic of the user

Implementation

Future<String?> getProfilePic() async {
  final json = await fetchResponse();
  return instaApiFromJson(json).graphql!.user!.profilePicUrlHd;
}