getCustomFeatureById function
Future<ApiResponse<CustomFeature> >
getCustomFeatureById(
- ExsitedClient client,
- Object customFeatureId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/custom_feature/{custom_feature_id}
Retrieve custom feature, the cmp_ id, under custom_feature; a deleted
one is 404.
Implementation
Future<ApiResponse<CustomFeature>> getCustomFeatureById(
ExsitedClient client,
Object customFeatureId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(CustomFeaturesUrls.customFeatureById,
pathParams: {'custom_feature_id': customFeatureId},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: CustomFeature.fromMap);