AccountService class

Constructors

AccountService({required String baseUrl, required AuthenticationService authenticationService, int minorVersion = 63})

Properties

authenticationService AuthenticationService
final
baseUrl String
final
hashCode int
The hash code for this object.
no setterinherited
minorVersion int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createAccount({required Account account, String? realmId, String? authToken}) Future<Account>
Creates an account Name must be unique. The Account.Name attribute must not contain double quotes (") or colon (:). The Account.AcctNum attribute must not contain a colon (:).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryAccount({required String query, String? realmId, String? authToken}) Future<List<Account>>
Returns the results of the query.
readAccount({required String accountId, String? realmId, String? authToken}) Future<Account>
Retrieves the details of an Account object that has been previously created.
toString() String
A string representation of this object.
inherited
updateAccount({required Account account, String? realmId, String? authToken}) Future<Account>
Use this operation to update any of the writable fields of an existing account object. The request body must include all writable fields of the existing object as returned in a read response. Writable fields omitted from the request body are set to NULL. The ID of the object to update is specified in the request body.

Operators

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