ContextLocator constructor

ContextLocator({
  1. ResourceProvider resourceProvider,
})

Initialize a newly created context locator. If a resourceProvider is supplied, it will be used to access the file system. Otherwise the default resource provider will be used.

Implementation

factory ContextLocator({ResourceProvider resourceProvider}) =
    ContextLocatorImpl;