ContentImpl class

Inheritance

Constructors

ContentImpl()

Properties

hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

afterInitialization() → void
inherited
beforeInitialization() → void
inherited
generateDocument(String slug, {required void onSuccess(Document), required void onError(SyneriseError error)}) Future<void>
This function generates a document based on a given slug.
generateDocumentWithApiQuery(DocumentApiQuery documentApiQuery, {required void onSuccess(Document), required void onError(SyneriseError error)}) Future<void>
This function generates a document based on a given slug and context.
generateScreenView(String feedSlug, {required void onSuccess(ScreenView), required void onError(SyneriseError error)}) Future<void>
This function generates a screen view for a given feed slug.
generateScreenViewWithApiQuery(ScreenViewApiQuery screenViewApiQuery, {required void onSuccess(ScreenView), required void onError(SyneriseError error)}) Future<void>
getDocument(String slugName, {required void onSuccess(Map<String, Object>), required void onError(SyneriseError error)}) Future<void>
(DEPRECATED) Please use generateDocument instead. This method generates the document that is defined for the provided slug.
getDocuments(DocumentsApiQuery documentsApiQueryModel, {required void onSuccess(List<Map<String, Object>>), required void onError(SyneriseError error)}) Future<void>
(DEPRECATED) Please use generateDocument instead. This method generates documents that are defined for parameters provided in the query object.
getRecommendations(RecommendationOptions recommendationOptions, {required void onSuccess(RecommendationResponse), required void onError(SyneriseError error)}) Future<void>
(DEPRECATED) Please use getRecommendationsV2 instead. This method generates recommendations that are defined for the options provided.
getRecommendationsV2(RecommendationOptions recommendationOptions, {required void onSuccess(RecommendationResponse), required void onError(SyneriseError error)}) Future<void>
This method generates recommendations that are defined for the options provided.
getScreenView({required void onSuccess(ScreenViewResponse), required void onError(SyneriseError error)}) Future<void>
(DEPRECATED) Please use generateScreenView instead. This method generates the customer’s highest-priority screen view campaign.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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