pocketbase_helpers 0.9.0 copy "pocketbase_helpers: ^0.9.0" to clipboard
pocketbase_helpers: ^0.9.0 copied to clipboard

Utilities for using typed data together with pocketbase.

example/lib/example.dart

import 'package:example/models/generated.dart';
import 'package:pocketbase_helpers/pocketbase_helpers.dart';

/// Authenticate John Doe
Future<RecordAuthResult> authenticate() =>
    Users.auth().withPassword('johndoe@gmail.com', 'verysecretpassword');

/// Fetch all the users from the pocketbase api
/// since no connection was specified this will default to http://localhost:8090
Future<List<User>> fetch() => Users.api().getFullList();
3
likes
0
points
576
downloads

Publisher

verified publishervanzwolsoftware.nl

Weekly Downloads

Utilities for using typed data together with pocketbase.

Repository (GitHub)
View/report issues

Topics

#pocketbase #models

License

unknown (license)

Dependencies

http, pocketbase

More

Packages that depend on pocketbase_helpers