isPathRelative method
Implementation
bool isPathRelative(String path) {
final RegExp re = RegExp(r'^(?:[a-z-]+:|\/|#)', caseSensitive: false);
return !re.hasMatch(path);
// 3.7.1 20180718
// function isPathRelative(path) {
// return !/^(?:[a-z-]+:|\/|#)/i.test(path);
// }
}