isRegistered method

bool isRegistered(
  1. String moduleId
)

Check if a module is registered

Implementation

bool isRegistered(String moduleId) => _modules.any((m) => m.id == moduleId);