createExperience function

Future<void> createExperience(
  1. Experience exp, [
  2. Options? options
])

Implementation

Future<void> createExperience(Experience exp, [Options? options]) async {
  if (options == null)
    options = Options();

  final ctx = Context(options);

  print(generateFromComponent(exp.generate, ctx));
}