getCurrentScenario method
Implementation
Future<TestScenario?> getCurrentScenario() async{
Api<void,Map<String,dynamic>>? api = _getApi(ApiName.getCurrentScenario);
RequestContext context = RequestContext();
Map<String,dynamic>? json = await api?.request(null, context);
return json?['CurrentScenario'] == null ? null : TestScenario.from(json!['CurrentScenario']);
}