resolveTypeName function

String resolveTypeName(
  1. String fullTypeName
)

Implementation

String resolveTypeName(String fullTypeName) {
  var regex = RegExp("([a-zA-Z0-9\$_]+)(<((.+))>)?");
  return regex.firstMatch(fullTypeName).group(1);
}