keyOf method
      
dynamic
keyOf(
    
- dynamic entity
Returns the key of the specified entity.
Implementation
dynamic keyOf(dynamic entity) =>
    registry.lookup(entity.runtimeType).getKey(entity);Returns the key of the specified entity.
dynamic keyOf(dynamic entity) =>
    registry.lookup(entity.runtimeType).getKey(entity);