getCustomFeatures function

Future<ApiResponse<CustomFeatureList>> getCustomFeatures(
  1. ExsitedClient client, {
  2. Map<String, Object?>? queryParams,
  3. bool? raiseOnError,
  4. String? responseFormat,
})

GET /api/{api_version}/custom_feature

List custom features, cursor paged, the active ones only.

Implementation

Future<ApiResponse<CustomFeatureList>> getCustomFeatures(
  ExsitedClient client, {
  Map<String, Object?>? queryParams,
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendGetRequest(CustomFeaturesUrls.customFeature,
        queryParams: queryParams,
        raiseOnError: raiseOnError,
        responseFormat: responseFormat,
        dtoDecoder: CustomFeatureList.fromMap);