getConfig abstract method

  1. @GET.new('/api/v2/moderation/config/{key}')
Future<Result<GetConfigResponse>> getConfig({
  1. @Path.new('key') required String key,
  2. @Query.new('team') String? team,
})

Implementation

@GET('/api/v2/moderation/config/{key}')
Future<Result<GetConfigResponse>> getConfig({
  @Path('key') required String key,
  @Query('team') String? team,
});