uploadPhoto method

  1. @override
Future<void> uploadPhoto(
  1. BuildContext context,
  2. AppModel app,
  3. AccessRightsProvider accessRightsProvider,
  4. MediumAvailable feedbackFunction,
  5. FeedbackProgress? feedbackProgress, {
  6. bool? allowCrop,
})
override

Implementation

@override
Future<void> uploadPhoto(
    BuildContext context,
    AppModel app,
    AccessRightsProvider accessRightsProvider,
    MediumAvailable feedbackFunction,
    FeedbackProgress? feedbackProgress,
    {bool? allowCrop}) async {
  return _pickImage(context, app, accessRightsProvider, feedbackFunction,
      feedbackProgress, ImageSource.gallery,
      allowCrop: allowCrop);
}