getProblemContentByTitleSlug method
Implementation
Future<ProblemContent?> getProblemContentByTitleSlug({required String titleSlug}) async {
final data = await makeGraphQLRequest(getGraphQLPayloadProblemContent(titleSlug: titleSlug));
final json = data['data']['question'];
if (json == null) {
return null;
}
return ProblemContent.fromJson(json);
}