AppSessionKeyUpdateRequest constructor
AppSessionKeyUpdateRequest({})
Implementation
AppSessionKeyUpdateRequest({
required String appId,
required String accessToken,
bool expiringSession = false,
String? userId,
}) : super() {
url = 'users/${userId ?? state.userId}/session_key';
body = {'expiring_session': expiringSession};
headers = {'App-Id': appId, 'Access-Token': accessToken};
}