# parseGenericTypes static method

List<GenericTypeParsingResult> parseGenericTypes(

1. String genericPart

)

Fully parses a generic type string into structured results.

Parameters:

- `genericPart`: The type string to parse

Returns:

- List of GenericTypeParsingResult objects representing the type structure
- Empty list for non-generic types

Example:

    final results = GenericTypeParser.parseGenericTypes('Map<String, List<int>>');
    print(results[0].base); // 'Map'
    print(results[0].types[0].base); // 'String'
    print(results[0].types[1].base); // 'List'

## Implementation

    static List<GenericTypeParsingResult> parseGenericTypes(String genericPart) {
      if (genericPart.isEmpty) return [];

      final results = <GenericTypeParsingResult>[];
      final parts = splitGenericParts(genericPart);

      for (final part in parts) {
        final trimmed = part.trim();
        if (trimmed.isNotEmpty) {
          // Recursively parse each generic type
          final result = resolveGenericType(trimmed);
          results.add(result);
        }
      }

      return results;
    }