registerType method
Adds companionType to the list of all companion types and active companions types
Implementation
@override
void registerType(CompanionType companionType) {
_companionTypes.add(companionType);
_activeCompanionTypes.add(companionType);
}