createPortalLogin function

Future<ApiResponse<PortalLogin>> createPortalLogin(
  1. ExsitedClient client,
  2. Object payload, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

POST /api/{api_version}/portal/login

Implementation

Future<ApiResponse<PortalLogin>> createPortalLogin(
  ExsitedClient client,
  Object payload, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendPostRequest(PortalsUrls.portalLogin,
        jsonBody: payload,
        raiseOnError: raiseOnError,
        responseFormat: responseFormat,
        dtoDecoder: PortalLogin.fromMap);