getFilePathFromUrl method Null safety

Future<String> getFilePathFromUrl(
  1. String originalUrl,
  2. String fileExtension
)

Implementation

static Future<String> getFilePathFromUrl(
    String originalUrl, String fileExtension) async {
  String url = getUrlFormatedToFilepath(originalUrl);

  return ModernFormFilePlatformHelper.getFilePathFromUrl(url, fileExtension);
}