supports method

  1. @override
bool supports (String filename, String currentDirectory, Contexts options, Environment environment)
override

True is can load the file

Implementation

@override
bool supports(String filename, String currentDirectory, Contexts options,
        Environment environment) =>
    isUrlRe.hasMatch(filename) || isUrlRe.hasMatch(currentDirectory);