registered method

List<String> registered(
  1. List<String> read({
    1. String projectRoot,
    })
)

The names read finds in the project's registry (e.g. registeredLiveCommands), or none when Metro isn't running in a Flutter project.

Implementation

List<String> registered(List<String> Function({String projectRoot}) read) {
  try {
    return read(projectRoot: project.root);
  } on LiveCommandException {
    return const [];
  }
}