getElementClassMirror static method

ClassMirror getElementClassMirror(
  1. ClassMirror collection
)

Returns the generic element class of the collection class.

Implementation

static ClassMirror getElementClassMirror(ClassMirror collection) {
  int idx = isAssignableFrom(Mirror.Map, collection) ? 1 : 0;
  return _getElementClassMirror0(collection, idx);
}