isLocalFilePath function

bool isLocalFilePath(
  1. String path
)

Implementation

bool isLocalFilePath(String path) {
  Uri uri = Uri.parse(path);
  return !uri.scheme.contains(http);
}