extract_type_arguments library

Functions

extractIterableTypeArgument(Iterable iterable, Object? extract<T>()) Object?
Given an Iterable, invokes extract, passing the iterable's type argument as the type argument to the generic function.
extractMapTypeArguments(Map map, Object? extract<K, V>()) Object?
Given a Map, invokes extract, passing the map's key and value type arguments as the type arguments to the generic function.