setRefreshToken static method
Set refresh token
Implementation
static void setRefreshToken(String token) {
if (!DioApiST.instance.initState) {
throw APIException(-1, body: 'Need Api.init() before setRefreshToken');
}
GetStorage().write('ApiEticonMainRefreshToken2312', token);
Token.instance.setRefreshToken(token);
}