getGuestAttributes method

  1. @override
Future<GuestAttributes> getGuestAttributes(
  1. GetGuestAttributesInstanceRequest request
)
override

Returns the specified guest attributes entry.

Throws a http.ClientException if there were problems communicating with the API service. Throws a ServiceException if the API method failed for any reason.

Implementation

@override
Future<GuestAttributes> getGuestAttributes(
  GetGuestAttributesInstanceRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_getGuestAttributes case final getGuestAttributes?) {
    return getGuestAttributes(request);
  }
  throw UnsupportedError('getGuestAttributes');
}