flattenedList function

DartType flattenedList (
  1. DartType list
)

Implementation

DartType flattenedList(DartType list) {
  return (list as ParameterizedType).typeArguments.first;
}