RemoteService class
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
-
checkSession({required String sessionId, required String accessToken})
→ Future<RemoteResponse<SessionResultDTO>>
-
-
feedbackSession({required String sessionId, required String accessToken, required Map<String, dynamic> feedbackParams})
→ Future<RemoteResponse<bool>>
-
-
getDio(String? accessToken)
→ Dio
-
-
handleDioError<T>(DioError e)
→ RemoteResponse<T>
-
-
isSuccessResponse(Map<String, dynamic>? payload)
→ bool
-
-
listOfStates({required String countryCode})
→ Future<RemoteResponse<Map>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
uploadSessionDoc({required DocTypes docTypes, required String issuingCountry, required String sessionId, required String accessToken, String? frontDocUri, String? backDocUri, String? frontDocBase64, String? backDocBase64})
→ Future<RemoteResponse<UploadDTO>>
-
CALL API
-
uploadSessionSelfie({required String sessionId, required String accessToken, String? selfieDocUri, String? selfieDocBase64, Map? metadata})
→ Future<RemoteResponse<UploadDTO>>
-