hasRegistryMap function
Whether file declares the Map<String, <type>> <variable> registry.
Implementation
bool hasRegistryMap(
String file, {
required String variable,
required String type,
}) =>
_guardedMap(variable, type).hasMatch(file) ||
_plainMap(variable, type).hasMatch(file);