overridePathProvider static method

void overridePathProvider({
  1. String? documentsPath,
  2. String? temporaryPath,
  3. String? applicationSupportPath,
  4. String? libraryPath,
  5. String? cachePath,
})

Override path provider paths.

Implementation

static void overridePathProvider({
  String? documentsPath,
  String? temporaryPath,
  String? applicationSupportPath,
  String? libraryPath,
  String? cachePath,
}) {
  if (documentsPath != null) _documentsPath = documentsPath;
  if (temporaryPath != null) _temporaryPath = temporaryPath;
  if (applicationSupportPath != null) {
    _applicationSupportPath = applicationSupportPath;
  }
  if (libraryPath != null) _libraryPath = libraryPath;
  if (cachePath != null) _cachePath = cachePath;
}