Merge branch 'master' into development_haroon
						commit
						47a274b1d3
					
				| @ -0,0 +1,522 @@ | ||||
| [ | ||||
|   { | ||||
|     "id": "b8f10b10-221c-495d-b99b-6a8094892549", | ||||
|     "titleEn": "How many time Uruguay won FIFA World Cups?", | ||||
|     "titleAr": "How many time Uruguay won FIFA World Cups?", | ||||
|     "marathonId": "979813be-eafa-4d3e-d27e-08dae8a08a3b", | ||||
|     "questionTypeId": 1, | ||||
|     "questionTime": 10, | ||||
|     "nextQuestGap": 5, | ||||
|     "gapType": 0, | ||||
|     "gapText": null, | ||||
|     "gapImage": "Questions/51b598b6-c837-45be-8734-1374978bd426_congratulations-gif.gif", | ||||
|     "questOptionsLimit": 0, | ||||
|     "remainingParticipantCount": 1, | ||||
|     "questionOptions": [ | ||||
|       { | ||||
|         "id": "772e6062-543c-4ddc-e516-08dae8b36b35", | ||||
|         "titleEn": "1", | ||||
|         "titleAr": "1", | ||||
|         "questionId": "b8f10b10-221c-495d-b99b-6a8094892549", | ||||
|         "sequence": 1, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "ea3c673e-78c7-41dd-e517-08dae8b36b35", | ||||
|         "titleEn": "2", | ||||
|         "titleAr": "2", | ||||
|         "questionId": "b8f10b10-221c-495d-b99b-6a8094892549", | ||||
|         "sequence": 2, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": true | ||||
|       }, | ||||
|       { | ||||
|         "id": "7adbdfec-ef77-417e-e518-08dae8b36b35", | ||||
|         "titleEn": "3", | ||||
|         "titleAr": "3", | ||||
|         "questionId": "b8f10b10-221c-495d-b99b-6a8094892549", | ||||
|         "sequence": 3, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "895eab85-e321-4d3e-e519-08dae8b36b35", | ||||
|         "titleEn": "4", | ||||
|         "titleAr": "4", | ||||
|         "questionId": "b8f10b10-221c-495d-b99b-6a8094892549", | ||||
|         "sequence": 4, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "id": "0d60d55f-4067-48f9-9ace-b6309c6a7cf0", | ||||
|     "titleEn": "Who is the current FIFA World Cup Winner?", | ||||
|     "titleAr": "Who is the current FIFA World Cup Winner?", | ||||
|     "marathonId": "979813be-eafa-4d3e-d27e-08dae8a08a3b", | ||||
|     "questionTypeId": 1, | ||||
|     "questionTime": 10, | ||||
|     "nextQuestGap": 5, | ||||
|     "gapType": 0, | ||||
|     "gapText": null, | ||||
|     "gapImage": "Questions/24dddc50-7583-48b4-9fec-8a490d246191_great-thumbs.gif", | ||||
|     "questOptionsLimit": 0, | ||||
|     "remainingParticipantCount": 0, | ||||
|     "questionOptions": [ | ||||
|       { | ||||
|         "id": "dd0ba127-26ed-4308-e50e-08dae8b36b35", | ||||
|         "titleEn": "Brazil", | ||||
|         "titleAr": "Brazil", | ||||
|         "questionId": "0d60d55f-4067-48f9-9ace-b6309c6a7cf0", | ||||
|         "sequence": 1, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "4748df31-95f0-4fee-e50f-08dae8b36b35", | ||||
|         "titleEn": "Argentina", | ||||
|         "titleAr": "Argentina", | ||||
|         "questionId": "0d60d55f-4067-48f9-9ace-b6309c6a7cf0", | ||||
|         "sequence": 2, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": true | ||||
|       }, | ||||
|       { | ||||
|         "id": "4079d32a-891b-4e83-e510-08dae8b36b35", | ||||
|         "titleEn": "Germany", | ||||
|         "titleAr": "Germany", | ||||
|         "questionId": "0d60d55f-4067-48f9-9ace-b6309c6a7cf0", | ||||
|         "sequence": 3, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "1c17cfcd-9f19-4020-e511-08dae8b36b35", | ||||
|         "titleEn": "France", | ||||
|         "titleAr": "France", | ||||
|         "questionId": "0d60d55f-4067-48f9-9ace-b6309c6a7cf0", | ||||
|         "sequence": 4, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "id": "489659b0-0400-4b64-8ce2-e6fe48db61db", | ||||
|     "titleEn": "How many times England won FIFA World Cups?", | ||||
|     "titleAr": "How many times England won FIFA World Cups?", | ||||
|     "marathonId": "979813be-eafa-4d3e-d27e-08dae8a08a3b", | ||||
|     "questionTypeId": 1, | ||||
|     "questionTime": 10, | ||||
|     "nextQuestGap": 5, | ||||
|     "gapType": 0, | ||||
|     "gapText": null, | ||||
|     "gapImage": "Questions/a9ffa364-231c-4877-824f-84febac51086_thumbs-up-simon-cowell.gif", | ||||
|     "questOptionsLimit": 0, | ||||
|     "remainingParticipantCount": 0, | ||||
|     "questionOptions": [ | ||||
|       { | ||||
|         "id": "7f63cd45-ce2c-417f-e502-08dae8b36b35", | ||||
|         "titleEn": "1", | ||||
|         "titleAr": "1", | ||||
|         "questionId": "489659b0-0400-4b64-8ce2-e6fe48db61db", | ||||
|         "sequence": 1, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": true | ||||
|       }, | ||||
|       { | ||||
|         "id": "34690bfa-0ffd-453f-e503-08dae8b36b35", | ||||
|         "titleEn": "2", | ||||
|         "titleAr": "2", | ||||
|         "questionId": "489659b0-0400-4b64-8ce2-e6fe48db61db", | ||||
|         "sequence": 2, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "4526efdd-ff6f-4340-e504-08dae8b36b35", | ||||
|         "titleEn": "3", | ||||
|         "titleAr": "3", | ||||
|         "questionId": "489659b0-0400-4b64-8ce2-e6fe48db61db", | ||||
|         "sequence": 3, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "65d06188-fa63-49fd-e505-08dae8b36b35", | ||||
|         "titleEn": "4", | ||||
|         "titleAr": "4", | ||||
|         "questionId": "489659b0-0400-4b64-8ce2-e6fe48db61db", | ||||
|         "sequence": 4, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "id": "253fc396-dab9-41ca-82bd-511f98c5dee8", | ||||
|     "titleEn": "How many time Germany won FIFA World Cups?", | ||||
|     "titleAr": "How many time Germany won FIFA World Cups?", | ||||
|     "marathonId": "979813be-eafa-4d3e-d27e-08dae8a08a3b", | ||||
|     "questionTypeId": 1, | ||||
|     "questionTime": 10, | ||||
|     "nextQuestGap": 5, | ||||
|     "gapType": 0, | ||||
|     "gapText": null, | ||||
|     "gapImage": "Questions/012d6493-3612-42c9-8f6f-84417d4736d4_good-job-well-done.gif", | ||||
|     "questOptionsLimit": 0, | ||||
|     "remainingParticipantCount": 0, | ||||
|     "questionOptions": [ | ||||
|       { | ||||
|         "id": "dce4999c-5629-45f4-e4f6-08dae8b36b35", | ||||
|         "titleEn": "1", | ||||
|         "titleAr": "null", | ||||
|         "questionId": 1, | ||||
|         "sequence": 1, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "00913ba1-5ccc-4d7c-e4f7-08dae8b36b35", | ||||
|         "titleEn": "2", | ||||
|         "titleAr": "2", | ||||
|         "questionId": "253fc396-dab9-41ca-82bd-511f98c5dee8", | ||||
|         "sequence": 2, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "9e5f5e89-608e-4fc9-e4f8-08dae8b36b35", | ||||
|         "titleEn": "3", | ||||
|         "titleAr": "3", | ||||
|         "questionId": "253fc396-dab9-41ca-82bd-511f98c5dee8", | ||||
|         "sequence": 3, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "a535cacf-ee4d-4895-e4f9-08dae8b36b35", | ||||
|         "titleEn": "4", | ||||
|         "titleAr": "4", | ||||
|         "questionId": "253fc396-dab9-41ca-82bd-511f98c5dee8", | ||||
|         "sequence": 4, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": true | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "id": "669c4fe2-a3e6-4e29-8c56-ae09efa9ba6c", | ||||
|     "titleEn": "How many times Portugal won FIFA World Cups?", | ||||
|     "titleAr": "How many times Portugal won FIFA World Cups?", | ||||
|     "marathonId": "979813be-eafa-4d3e-d27e-08dae8a08a3b", | ||||
|     "questionTypeId": 1, | ||||
|     "questionTime": 10, | ||||
|     "nextQuestGap": 5, | ||||
|     "gapType": 0, | ||||
|     "gapText": null, | ||||
|     "gapImage": "Questions/ca3f32a1-ed9f-45df-b2fb-3d1df78d5651_congrats-14.gif", | ||||
|     "questOptionsLimit": 0, | ||||
|     "remainingParticipantCount": 0, | ||||
|     "questionOptions": [ | ||||
|       { | ||||
|         "id": "597c308e-3f09-4a05-e506-08dae8b36b35", | ||||
|         "titleEn": "0", | ||||
|         "titleAr": "0", | ||||
|         "questionId": "669c4fe2-a3e6-4e29-8c56-ae09efa9ba6c", | ||||
|         "sequence": 1, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": true | ||||
|       }, | ||||
|       { | ||||
|         "id": "2face927-7c8e-4945-e507-08dae8b36b35", | ||||
|         "titleEn": "1", | ||||
|         "titleAr": "1", | ||||
|         "questionId": "669c4fe2-a3e6-4e29-8c56-ae09efa9ba6c", | ||||
|         "sequence": 2, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "bde21640-798e-4750-e508-08dae8b36b35", | ||||
|         "titleEn": "2", | ||||
|         "titleAr": "2", | ||||
|         "questionId": "669c4fe2-a3e6-4e29-8c56-ae09efa9ba6c", | ||||
|         "sequence": 3, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "9312acac-f0c3-4ed4-e509-08dae8b36b35", | ||||
|         "titleEn": "3", | ||||
|         "titleAr": "3", | ||||
|         "questionId": "669c4fe2-a3e6-4e29-8c56-ae09efa9ba6c", | ||||
|         "sequence": 4, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "id": "f91774ce-14f0-4af0-9a77-e649bc013b44", | ||||
|     "titleEn": "How many times Spain won FIFA World Cups?", | ||||
|     "titleAr": "How many times Spain won FIFA World Cups?", | ||||
|     "marathonId": "979813be-eafa-4d3e-d27e-08dae8a08a3b", | ||||
|     "questionTypeId": 1, | ||||
|     "questionTime": 10, | ||||
|     "nextQuestGap": 5, | ||||
|     "gapType": 0, | ||||
|     "gapText": null, | ||||
|     "gapImage": "Questions/6484c5bc-09fd-4586-8036-67868afbe27b_good-job-well-done.gif", | ||||
|     "questOptionsLimit": 0, | ||||
|     "remainingParticipantCount": 0, | ||||
|     "questionOptions": [ | ||||
|       { | ||||
|         "id": "2f968964-ce91-4478-e512-08dae8b36b35", | ||||
|         "titleEn": "1", | ||||
|         "titleAr": "1", | ||||
|         "questionId": "f91774ce-14f0-4af0-9a77-e649bc013b44", | ||||
|         "sequence": 1, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": true | ||||
|       }, | ||||
|       { | ||||
|         "id": "4fed9355-2c9f-458d-e513-08dae8b36b35", | ||||
|         "titleEn": "2", | ||||
|         "titleAr": "2", | ||||
|         "questionId": "f91774ce-14f0-4af0-9a77-e649bc013b44", | ||||
|         "sequence": 2, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "8f232a43-3792-4cd0-e514-08dae8b36b35", | ||||
|         "titleEn": "3", | ||||
|         "titleAr": "3", | ||||
|         "questionId": "f91774ce-14f0-4af0-9a77-e649bc013b44", | ||||
|         "sequence": 3, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "24478e43-bf4c-4852-e515-08dae8b36b35", | ||||
|         "titleEn": "4", | ||||
|         "titleAr": "4", | ||||
|         "questionId": "f91774ce-14f0-4af0-9a77-e649bc013b44", | ||||
|         "sequence": 4, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "id": "fd3a90e6-5b35-4035-bc1c-4483facaf6d3", | ||||
|     "titleEn": "How many times France won FIFA World Cups?", | ||||
|     "titleAr": "How many times France won FIFA World Cups?", | ||||
|     "marathonId": "979813be-eafa-4d3e-d27e-08dae8a08a3b", | ||||
|     "questionTypeId": 1, | ||||
|     "questionTime": 10, | ||||
|     "nextQuestGap": 5, | ||||
|     "gapType": 0, | ||||
|     "gapText": null, | ||||
|     "gapImage": "Questions/24dddc50-7583-48b4-9fec-8a490d246191_great-thumbs.gif", | ||||
|     "questOptionsLimit": 0, | ||||
|     "remainingParticipantCount": 0, | ||||
|     "questionOptions": [ | ||||
|       { | ||||
|         "id": "9d0743e0-9f3f-48d0-e4fa-08dae8b36b35", | ||||
|         "titleEn": "1", | ||||
|         "titleAr": "1", | ||||
|         "questionId": "fd3a90e6-5b35-4035-bc1c-4483facaf6d3", | ||||
|         "sequence": 1, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "a81eda99-d9ad-49e0-e4fb-08dae8b36b35", | ||||
|         "titleEn": "2", | ||||
|         "titleAr": "2", | ||||
|         "questionId": "fd3a90e6-5b35-4035-bc1c-4483facaf6d3", | ||||
|         "sequence": 2, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": true | ||||
|       }, | ||||
|       { | ||||
|         "id": "7ca78891-890d-4023-e4fc-08dae8b36b35", | ||||
|         "titleEn": "3", | ||||
|         "titleAr": "3", | ||||
|         "questionId": "fd3a90e6-5b35-4035-bc1c-4483facaf6d3", | ||||
|         "sequence": 3, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "d1a98bd9-8afa-49c1-e4fd-08dae8b36b35", | ||||
|         "titleEn": "4", | ||||
|         "titleAr": "4", | ||||
|         "questionId": "fd3a90e6-5b35-4035-bc1c-4483facaf6d3", | ||||
|         "sequence": 4, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "id": "3a35855d-3ed7-4d45-8864-9135d71378de", | ||||
|     "titleEn": "How many time Argentina won FIFA World Cups?", | ||||
|     "titleAr": "How many time Argentina won FIFA World Cups?", | ||||
|     "marathonId": "979813be-eafa-4d3e-d27e-08dae8a08a3b", | ||||
|     "questionTypeId": 1, | ||||
|     "questionTime": 10, | ||||
|     "nextQuestGap": 5, | ||||
|     "gapType": 0, | ||||
|     "gapText": null, | ||||
|     "gapImage": "Questions/24dddc50-7583-48b4-9fec-8a490d246191_great-thumbs.gif", | ||||
|     "questOptionsLimit": 0, | ||||
|     "remainingParticipantCount": 0, | ||||
|     "questionOptions": [ | ||||
|       { | ||||
|         "id": "f0766816-837f-47e6-e51a-08dae8b36b35", | ||||
|         "titleEn": "1", | ||||
|         "titleAr": "1", | ||||
|         "questionId": "3a35855d-3ed7-4d45-8864-9135d71378de", | ||||
|         "sequence": 1, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "dc9c68de-afa4-4b63-e51b-08dae8b36b35", | ||||
|         "titleEn": "2", | ||||
|         "titleAr": "2", | ||||
|         "questionId": "3a35855d-3ed7-4d45-8864-9135d71378de", | ||||
|         "sequence": 2, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "52f2d024-8a29-4781-e51c-08dae8b36b35", | ||||
|         "titleEn": "3", | ||||
|         "titleAr": "3", | ||||
|         "questionId": "3a35855d-3ed7-4d45-8864-9135d71378de", | ||||
|         "sequence": 3, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": true | ||||
|       }, | ||||
|       { | ||||
|         "id": "122636e4-5e98-499e-e51d-08dae8b36b35", | ||||
|         "titleEn": "4", | ||||
|         "titleAr": "4", | ||||
|         "questionId": "3a35855d-3ed7-4d45-8864-9135d71378de", | ||||
|         "sequence": 4, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "id": "6c9d809d-683b-4d77-b98e-62a0d083488a", | ||||
|     "titleEn": "How many times Brazil won FIFA World Cups?", | ||||
|     "titleAr": "How many times Brazil won FIFA World Cups?", | ||||
|     "marathonId": "979813be-eafa-4d3e-d27e-08dae8a08a3b", | ||||
|     "questionTypeId": 1, | ||||
|     "questionTime": 10, | ||||
|     "nextQuestGap": 5, | ||||
|     "gapType": 0, | ||||
|     "gapText": null, | ||||
|     "gapImage": "Questions/a9ffa364-231c-4877-824f-84febac51086_thumbs-up-simon-cowell.gif", | ||||
|     "questOptionsLimit": 0, | ||||
|     "remainingParticipantCount": 0, | ||||
|     "questionOptions": [ | ||||
|       { | ||||
|         "id": "4e94437a-b10d-46c6-e4fe-08dae8b36b35", | ||||
|         "titleEn": "2", | ||||
|         "titleAr": "2", | ||||
|         "questionId": "6c9d809d-683b-4d77-b98e-62a0d083488a", | ||||
|         "sequence": 1, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "6e0e8baa-c13e-45f1-e4ff-08dae8b36b35", | ||||
|         "titleEn": "3", | ||||
|         "titleAr": "3", | ||||
|         "questionId": "6c9d809d-683b-4d77-b98e-62a0d083488a", | ||||
|         "sequence": 2, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "3065d26a-9aa4-4626-e500-08dae8b36b35", | ||||
|         "titleEn": "4", | ||||
|         "titleAr": "4", | ||||
|         "questionId": "6c9d809d-683b-4d77-b98e-62a0d083488a", | ||||
|         "sequence": 3, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "6cc3ff60-02cc-4e59-e501-08dae8b36b35", | ||||
|         "titleEn": "5", | ||||
|         "titleAr": "5", | ||||
|         "questionId": "6c9d809d-683b-4d77-b98e-62a0d083488a", | ||||
|         "sequence": 4, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": true | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "id": "e8c8442e-f370-444d-bee9-f7f75d146e5c", | ||||
|     "titleEn": "How many times Italy won FIFA World Cups?", | ||||
|     "titleAr": "How many times Italy won FIFA World Cups?", | ||||
|     "marathonId": "979813be-eafa-4d3e-d27e-08dae8a08a3b", | ||||
|     "questionTypeId": 1, | ||||
|     "questionTime": 10, | ||||
|     "nextQuestGap": 5, | ||||
|     "gapType": 0, | ||||
|     "gapText": null, | ||||
|     "gapImage": "Questions/34f3c402-1244-4320-98c2-751cb2a347c5_congrats-1.gif", | ||||
|     "questOptionsLimit": 0, | ||||
|     "remainingParticipantCount": 0, | ||||
|     "questionOptions": [ | ||||
|       { | ||||
|         "id": "53d456b7-8f56-4c58-e50a-08dae8b36b35", | ||||
|         "titleEn": "1", | ||||
|         "titleAr": "1", | ||||
|         "questionId": "e8c8442e-f370-444d-bee9-f7f75d146e5c", | ||||
|         "sequence": 1, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "280df6d7-ca61-4d78-e50b-08dae8b36b35", | ||||
|         "titleEn": "2", | ||||
|         "titleAr": "2", | ||||
|         "questionId": "e8c8442e-f370-444d-bee9-f7f75d146e5c", | ||||
|         "sequence": 2, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "769939dc-4a46-4f4f-e50c-08dae8b36b35", | ||||
|         "titleEn": "3", | ||||
|         "titleAr": "3", | ||||
|         "questionId": "e8c8442e-f370-444d-bee9-f7f75d146e5c", | ||||
|         "sequence": 3, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": false | ||||
|       }, | ||||
|       { | ||||
|         "id": "c389fae7-0019-4922-e50d-08dae8b36b35", | ||||
|         "titleEn": "4", | ||||
|         "titleAr": "4", | ||||
|         "questionId": "e8c8442e-f370-444d-bee9-f7f75d146e5c", | ||||
|         "sequence": 4, | ||||
|         "image": "null", | ||||
|         "isCorrectOption": true | ||||
|       } | ||||
|     ] | ||||
|   } | ||||
| ] | ||||
| @ -0,0 +1,46 @@ | ||||
| { | ||||
|   "id": "979813be-eafa-4d3e-d27e-08dae8a08a3b", | ||||
|   "titleEn": "FIFA World Cup", | ||||
|   "titleAr": "undefined", | ||||
|   "descEn": "FIFA World Cup Description", | ||||
|   "descAr": "undefined", | ||||
|   "questionTime": 10, | ||||
|   "winDeciderTime": 30, | ||||
|   "winnersCount": 1, | ||||
|   "questGapTime": 5, | ||||
|   "startTime": "2022-12-28T10:44:41", | ||||
|   "endTime": null, | ||||
|   "marathoneStatusId": 4, | ||||
|   "scheduleTime": "2022-12-28T10:14:41", | ||||
|   "selectedLanguage": 0, | ||||
|   "projects": { | ||||
|     "id": "b1cd3fa3-bb27-422e-a4c1-08dac09254df", | ||||
|     "nameEn": "Cloud Solutions", | ||||
|     "nameAr": "333شركة حلول السحابة للاتصالات وتقنية المعلومات", | ||||
|     "projectCode": "CS" | ||||
|   }, | ||||
|   "sponsors": [ | ||||
|     { | ||||
|       "id": "3272b127-b388-4f09-425b-08dac2eb788e", | ||||
|       "nameEn": "Cloud Solutions", | ||||
|       "nameAr": "حل السحابة", | ||||
|       "image": "SponsorImage/b9aed4a8-42b2-45fc-b6f1-47ee0c7b4138_sponsor.jpeg", | ||||
|       "video": "SponsorVideo/9ab678ab-1b4c-4ea4-aaf2-32ce1353d3fe_sample-10s.mp4", | ||||
|       "logo": "SponsorLogo/eb029f0d-bce1-4a61-b0c0-abaa484912a0_sponsor.jpeg", | ||||
|       "videoDuration": null, | ||||
|       "sponsorPrizes": [ | ||||
|         { | ||||
|           "id": "e657a18c-6fb2-4099-07c8-08dae89efcd3", | ||||
|           "marathonPrizeEn": "SAR 500", | ||||
|           "marathonPrizeAr": "SAR 500" | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|   ], | ||||
|   "questions": null, | ||||
|   "isEmailSent": false, | ||||
|   "totalQuestions": 10, | ||||
|   "cancelReason": null, | ||||
|   "marathonBufferTime": 30, | ||||
|   "currentTime": "2022-12-28T08:03:24.3671803Z" | ||||
| } | ||||
| @ -0,0 +1,27 @@ | ||||
| import 'dart:convert'; | ||||
| 
 | ||||
| import 'package:flutter/services.dart'; | ||||
| import 'package:logger/logger.dart' as L; | ||||
| import 'package:mohem_flutter_app/models/marathon/marathon_model.dart'; | ||||
| import 'package:mohem_flutter_app/models/marathon/question_model.dart'; | ||||
| 
 | ||||
| class DemoMarathonRepo { | ||||
|   L.Logger logger = L.Logger(); | ||||
| 
 | ||||
|   Future<MarathonDetailModel> getDemoMarathonDetails() async { | ||||
|     String response = await rootBundle.loadString('assets/json/demo_upcoming_marathon'); | ||||
|     var json = jsonDecode(response); | ||||
|     logger.i("json in getDemoMarathonDetails: $json"); | ||||
|     MarathonDetailModel marathonDetailModel = MarathonDetailModel.fromJson(json); | ||||
|     return marathonDetailModel; | ||||
|   } | ||||
| 
 | ||||
|   Future<QuestionModel> getDemoNextQuestion({required int currentQuestionNumber}) async { | ||||
|     String response = await rootBundle.loadString('assets/json/demo_questions_marathon'); | ||||
|     List json = jsonDecode(response); | ||||
|     logger.i("json in getDemoNextQuestion: $json"); | ||||
|     QuestionModel currentQuestion = QuestionModel.fromJson(json.elementAt(currentQuestionNumber)); | ||||
| 
 | ||||
|     return currentQuestion; | ||||
|   } | ||||
| } | ||||
					Loading…
					
					
				
		Reference in New Issue