1. Install
pubspec.yaml
flutter pub get.
2. Configure deployment values
Pass deployment-specific values with--dart-define:
StorefrontSessionStore record or customer token across those origins.
3. Create the client
StorefrontSessionStore backed by encrypted platform storage.
4. Check availability and load the menu
getOrderingReadiness is anonymous and side-effect free. Starting an ordering session is the point
where the SDK receives and stores the guest cart capability and revision.
5. Start an order
client.close() when the application-level owner is torn down.