uploadPhoto method

  1. @override
Future<UploadPhoto> uploadPhoto({
  1. required String distinctId,
  2. File? photo,
  3. String? imageUrl,
  4. String? imageName,
  5. String? title,
  6. String? category,
})
override

Implementation

@override
Future<UploadPhoto> uploadPhoto({
  required String distinctId,
  File? photo,
  String? imageUrl,
  String? imageName,
  String? title,
  String? category,
}) {
  return datasource.uploadPhoto(
    distinctId: distinctId,
    photo: photo,
    imageUrl: imageUrl,
    imageName: imageName,
    title: title,
    category: category,
  );
}