fewchurs_core 1.2.1
fewchurs_core: ^1.2.1 copied to clipboard
Pure Dart client for the Fewchurs feature-request API. Models, errors and device identity used by the fewchurs Flutter package.
fewchurs_core #
The pure Dart client behind fewchurs. It contains the API client, models, typed errors and device identity.
Most apps should depend on fewchurs, which re-exports this package. Use fewchurs_core directly only if you need the client without Flutter.
final client = FewchursClient(apiKey: 'fr_live_xxx');
final page = await client.listFeatures(sort: FeatureSort.top);
await client.vote(page.features.first.id);