getFileUrl method

Uri? getFileUrl({
  1. required UriProductHelper uriProductHelper,
  2. bool isThumbnail = false,
})

Returns the URL of the proof image, thumbnail or full.

Implementation

Uri? getFileUrl({
  required final UriProductHelper uriProductHelper,
  final bool isThumbnail = false,
}) =>
    _getFileUrl(
      uriProductHelper: uriProductHelper,
      path: isThumbnail ? imageThumbPath : filePath,
    );