ExternalRepositoryImpl class

Inheritance

Constructors

ExternalRepositoryImpl([ExternalDatasource? datasource])

Properties

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

Methods

createActivityExternal({required String distinctId, required String event, String? category, required Map<String, dynamic> properties}) → Future<CreateActivityExternal>
override
fillupExternalForm({required String token, required String externalActionId, String? category, required Map<String, dynamic> externalForm}) → Future<ExternalFormActionResult>
Llena (crea) un external form a partir de una external action ya existente (ej. external_action_id obtenido de getExternalFormListByCategory).
override
getExternalFormField({required String token, required String externalActionId}) → Future<ExternalFormField>
override
getExternalFormFieldByCategory({required String token, required String category}) → Future<ExternalFormField>
Atajo para cuando no hace falta decidir entre varias external actions de la misma category: busca la primera (vía getExternalFormListByCategory) y trae sus fields (vía getExternalFormField) en una sola llamada. Los dos métodos originales siguen disponibles tal cual para cuando sí haga falta ese control.
override
getExternalFormInfo({required String token, required String externalFormId}) → Future<ExternalFormActivity>
override
getExternalFormList({required String token, int? skip, int? limit}) → Future<ExternalFormActivityList>
override
getExternalFormListByCategory({required String token, required String category, String? page, String? limit, bool? participantMatchRules}) → Future<List<ExternalFormList>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateExternalForm({required String token, required String externalFormId, required Map<String, dynamic> externalForm}) → Future<ExternalFormActionResult>
override

Operators

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