getCustomAttribute function
GET /api/{api_version}/custom_attributes/{custom_attribute_id}
Implementation
Future<ApiResponse<CustomAttribute>> getCustomAttribute(
ExsitedClient client,
Object customAttributeId, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(CustomAttributesUrls.customAttribute,
pathParams: {'custom_attribute_id': customAttributeId},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: CustomAttribute.fromMap);