precedenceOf method

int precedenceOf(
  1. PropertySource propertySource
)

Returns the index position of the given propertySource in the list, or -1 if it is not present.

Implementation

int precedenceOf(PropertySource propertySource) => _sources.indexOf(propertySource);