uploadAvatar method

  1. @override
Future<String?> uploadAvatar({
  1. required Uint8List image,
  2. required String uploadUrl,
})
override

Implementation

@override
Future<String?> uploadAvatar({
  required Uint8List image,
  required String uploadUrl,
}) async {
  return await _userRepository.uploadImageToS3(
    image: image,
    uploadUrl: uploadUrl,
  );
}