ReferralDatasourceImpl class
Properties
-
dio
→ Dio
-
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
-
getOrUpdateReferralCode({required String token, String? code})
→ Future<ReferralCode>
-
POST /microsite/referrals/. Sin code consulta el código de referido
propio del participante autenticado; con code lo actualiza. El código
se asigna solo al registrarse si el módulo ya estaba instalado.
override
-
getParticipantReferrals({required String token, int? page, int? limit})
→ Future<ParticipantReferrals>
-
POST /microsite/referrals/participant_referrals. Lista los
participantes que se registraron con el código del participante
autenticado. page por defecto 1, limit por defecto 30.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited