isCollectionType static method

bool isCollectionType(
  1. Type type
)

Implementation

static bool isCollectionType(Type type) {
  return type == List || type == Set || type == Map || type == Iterable;
}