idOf method
Get the id of a type
Implementation
@override
String? idOf(Type type) {
return _mappers[type]?.id ??
_types.entries
.where((e) => e.value(<T>() => T == type) as bool)
.map((e) => e.key)
.firstOrNull;
}