toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> json = {};
  json['presentationOrder'] = presentationOrder.map((e) => e.index).toList();
  if (colorConfiguration != null) json['colorConfiguration'] = colorConfiguration!.toJson();
  if (nextStepContentConfiguration != null) json['nextStepContentConfiguration'] = nextStepContentConfiguration!.toJson();
  if (waitForAllServices != null) json['waitForAllServices'] = waitForAllServices;
  if (enableTransitionScreens != null) json['enableTransitionScreens'] = enableTransitionScreens;
  return json;
}