EndpointUserProfileEditBase class abstract

Base endpoint for user profile management.

To expose these endpoint methods on your server, extend this class in a concrete class on your server.

Inheritance

Properties

caller EndpointCaller
Holds a reference to the caller class.
finalinherited
client ServerpodClientShared
Reference to the client.
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the endpoint this reference is connected to.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<SerializableModel>
Stream of messages sent from an endpoint that supports streaming.
no setterinherited

Methods

changeFullName(String? fullName) Future<UserProfileModel>
Changes the full name of a user.
changeUserName(String? userName) Future<UserProfileModel>
Changes the name of a user.
get() Future<UserProfileModel>
Returns the user profile of the current user.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeUserImage() Future<UserProfileModel>
Removes the user's uploaded image, setting it to null.
resetStream() → void
Resets web socket stream, so it's possible to re-listen to endpoint streams.
inherited
sendStreamMessage(SerializableModel message) Future<void>
Sends a message to the endpoint's stream.
inherited
setUserImage(ByteData image) Future<UserProfileModel>
Sets a new user image for the signed in user.
toString() String
A string representation of this object.
inherited

Operators

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