getGraphQLPayloadProblemContent function

String getGraphQLPayloadProblemContent({
  1. required String titleSlug,
})

Implementation

String getGraphQLPayloadProblemContent({required String titleSlug}) => r'''{
		"query": "\n    query questionContent($titleSlug: String!) {\n  question(titleSlug: $titleSlug) {\n    content\n    mysqlSchemas\n  }\n}\n    ",
		"variables": {
			"titleSlug": "#titleSlug"
		}
	}'''
    .replaceAll('#titleSlug', titleSlug);