present()
Opens the measuring / try-on window for a product.
Future<void> present(String product, {OpenStep? step})Parameters
Section titled “Parameters”productStringRequiredYour product ID or SKU.
stepOpenStep?OptionalOpenStep.create, improve or view.
Example
Section titled “Example”await tys.present('SKU-123'); // or step: OpenStep.viewtys.present(product: "SKU-123") // or step: .view, from: viewControllertys.present(activity, "SKU-123") // or step = OpenStep.VIEWpresent("SKU-123"); // or present("SKU-123", "view")Was this page helpful?
Thank you. We read every answer.