add support for http as well as file
diff --git a/lib/src/mirror_loader.dart b/lib/src/mirror_loader.dart
index e37801b..f3e2689 100644
--- a/lib/src/mirror_loader.dart
+++ b/lib/src/mirror_loader.dart
@@ -148,7 +148,7 @@
         var package;
         var filePath;
         Uri uri = declaration.uri;
-        if (uri.scheme == 'file') {
+        if (uri.scheme == 'file' || uri.scheme.startsWith('http')) {
           filePath = path.url.relative(
               uri.path, from: path.url.dirname(_root.uri.path));
         } else if (uri.scheme == 'package') {