filter method

Future<Filter> filter(
  1. String id
)
inherited

GET /api/v1/filters/:id

  • authenticated (requires user)
  • read read:filters

Implementation

Future<Filter> filter(String id) async {
  final response = await request(
    Method.get,
    "/api/v1/filters/$id",
    authenticated: true,
  );

  return Filter.fromJson(json.decode(response.body));
}