Account class

Properties

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

Methods

acterAppSettings() Future<ActerUserAppSettings>
the current app settings
avatar(ThumbnailSize? thumbSize) Future<OptionBuffer>
The avatar of the client if thumb size is given, avatar thumbnail is returned if thumb size is not given, avatar file is returned
bookmarks() Future<Bookmarks>
Get the Bookmarks manager
changePassword(String oldVal, String newVal) Future<bool>
change password
confirmedEmailAddresses() Future<FfiListFfiString>
get email addresses from third party identifier
deactivate(String password) Future<bool>
displayName() Future<OptionString>
The display_name of the account
drop() → void
Manually drops the object and unregisters the FinalizableHandle.
externalIds() Future<FfiListExternalId>
get the array of registered 3pid on the homeserver for this account
ignoredUsers() Future<FfiListUserId>
list of users by blocked by this user
ignoreUser(String userId) Future<bool>
add user_id to ignore list
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEmailAddress(String emailAddress) Future<bool>
Remove email address from confirmed list or unconfirmed list
request3pidManagementTokenViaEmail(String emailAddress) Future<ThreePidEmailTokenResponse>
Requests token via email and add email address to third party identifier. If password is not enough complex, homeserver may reject this request.
requestedEmailAddresses() Future<FfiListFfiString>
get email addresses that were registered
setDisplayName(String name) Future<bool>
Change the display name of the account
submitTokenFromEmail(String emailAddress, String token, String password) Future<bool>
Submit token to finish email register
subscribeAppSettingsStream() Stream<bool>
listen to updates to the app settings
toString() String
A string representation of this object.
inherited
tryConfirmEmailStatus(String emailAddress, String password) Future<bool>
find out session id that is related with email address and add email address to account using session id & password
unignoreUser(String userId) Future<bool>
remove user_id from ignore list
uploadAvatar(String uri) Future<MxcUri>
Change the avatar of the account with the provided local file path
userId() UserId
get user id of this account

Operators

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