SettingsService class

The service that handles the Settings APIs.

Usually shouldn't be initialized manually and instead PocketBase.settings should be used.

Constructors

SettingsService(PocketBase client)

Properties

client PocketBase
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateAppleClientSecret(String clientId, String teamId, String keyId, String privateKey, int duration, {Map<String, dynamic> body = const {}, Map<String, dynamic> query = const {}, Map<String, String> headers = const {}}) Future<void>
Generates a new Apple OAuth2 client secret.
getAll({Map<String, dynamic> query = const {}, Map<String, String> headers = const {}}) Future<Map<String, dynamic>>
Fetch all available app settings.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
testEmail(String toEmail, String template, {Map<String, dynamic> body = const {}, Map<String, dynamic> query = const {}, Map<String, String> headers = const {}}) Future<void>
Sends a test email.
testS3({String filesystem = "storage", Map<String, dynamic> body = const {}, Map<String, dynamic> query = const {}, Map<String, String> headers = const {}}) Future<void>
Performs a S3 storage connection test.
toString() String
A string representation of this object.
inherited
update({Map<String, dynamic> body = const {}, Map<String, dynamic> query = const {}, Map<String, String> headers = const {}}) Future<Map<String, dynamic>>
Bulk updates app settings.

Operators

operator ==(Object other) bool
The equality operator.
inherited