StorylyViewController class

Constructors

StorylyViewController(int _viewId, MethodChannel _methodChannel)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

approveCartChange(String responseId, Map<String, dynamic>? cart) Future<void>
closeStory() Future<void>
getViewId() int
hydrateProducts(List<STRProductItem> products) Future<void>
This function allows you to hydrate products.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openStory(String storyGroupId, String? storyId) Future<void>
This function allows you to open a specific story using storyGroupId and storyId.
openStoryUri(String uri) Future<void>
This function allows you to open using deeplink uri.
pauseStory() Future<void>
refresh() Future<void>
This function allows you to refetch the data from network by default you do not need to use this function.
rejectCartChange(String responseId, String failMessage) Future<void>
resumeStory() Future<void>
toString() String
A string representation of this object.
inherited
updateCart(Map cart) Future<void>
This function allows you to update your cart.

Operators

operator ==(Object other) bool
The equality operator.
inherited