WepinNetwork class

Constructors

WepinNetwork({required String wepinAppKey, required String domain, required String version, required String type})

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkEmailExist(String email) Future<CheckEmailExistResponse>
clearAuthToken() → void
getAccessToken(String userId) Future<String>
getAccountBalance(String accountId) Future<GetAccountBalanceResponse>
getAppAccountList(GetAccountListRequest params) Future<GetAccountListResponse>
getAppInfo() Future<void>
getFirebaseConfig() Future<String>
getNFTList(GetNFTListRequest params) Future<GetNFTListResponse>
getUserPasswordState(String email) Future<PasswordStateResponse>
login(String idToken) Future<LoginResponse>
loginOAuthAccessToken(LoginOauthAccessTokenRequest params) Future<LoginOauthIdTokenResponse>
loginOAuthIdToken(LoginOauthIdTokenRequest params) Future<LoginOauthIdTokenResponse>
logout({required dynamic userId}) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
oauthTokenRequest(String provider, OAuthTokenRequest params) Future<OAuthTokenResponse>
refreshNFTList(GetNFTListRequest params) Future<GetNFTListResponse>
register(RegisterRequest params) Future<RegisterResponse>
setAuthToken(String accessToken, String refreshToken) → void
toString() String
A string representation of this object.
inherited
updateTermsAccepted(String userId, UpdateTermsAcceptedRequest params) Future<UpdateTermsAcceptedResponse>
updateUserPasswordState(String userId, PasswordStateRequest passwordStateRequest) Future<PasswordStateResponse>
verify(VerifyRequest params) Future<VerifyResponse>

Operators

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

Static Methods

getErrorMessage(Response response) String?