ApiService class

Constructors

ApiService()
factory

Properties

baseUrl → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
no setter
logoShownThroughBaseUrl → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchConsentAuditLogs({required int dataPrincipalId, required String languageId, required int page}) → Future<ConsentAuditPageResult?>
fetchDashboardData({required List<Map<String, dynamic>> subjectIdentityValues, required String languageCode}) → Future<DashboardResponse?>
fetchLanguages() → Future<List<Language>?>
fetchLoginConfig(dynamic pfId, dynamic customerId) → Future<LoginConfig?>
fetchPublicKey() → Future<void>
Performs the device-keypair handshake (consent-encryption-implementation.md, "Confirmed real contract") if no session is cached yet. _encryptedPost also self-heals this lazily, so calling it explicitly first only affects log ordering.
getCallbackApiResponse(String code, String state) → Future<CallBackData?>
getConsentFlow({required List<Map<String, dynamic>> subjectIdentityValues}) → Future<List<ConsentRecord>>
getCustomerAndPreferenceId(String? customerId, String? pfId, String? pfToken, [String? token]) → Future<DecrypterApiResponse?>
getDigiLockerResponse(String token) → Future<DigiLockerResponseModel?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveDashboardPreferences(Map<String, dynamic> payload) → Future<bool>
sendOtp(List<Map<String, dynamic>> subjectIdentityValues) → Future<SendOtpResponse?>
setAuthToken(String? token) → void
setBaseUrl(String baseUrl) → void
setLogoShownThroughBaseUrl(bool? value) → void
toString() → String
A string representation of this object.
inherited
verifyOtp(String otp, List<Map<String, dynamic>> subjectIdentityValues) → Future<VerifyOtpResponse?>

Operators

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