setUserImageFromBytes method
Future<UserProfileModel>
setUserImageFromBytes(
- Session session,
- UuidValue authUserId,
- Uint8List imageBytes, {
- Transaction? transaction,
Sets a user's image from image data.
The image is resized before being stored in the cloud and associated with the user.
Implementation
Future<UserProfileModel> setUserImageFromBytes(
final Session session,
final UuidValue authUserId,
final Uint8List imageBytes, {
final Transaction? transaction,
}) async => _setUserImage(
session,
authUserId,
UserImageFromBytes(imageBytes),
transaction: transaction,
);