groupByType method

Map<Type, List<V>> groupByType()

Implementation

Map<Type, List<V>> groupByType() {
  return groupBy((_) => _.runtimeType);
}