excludeGeneric property
String?
get
excludeGeneric
排除类型字符串中的泛型类型:
List<E>-> ListList<E>?-> List
Implementation
String? get excludeGeneric {
return replaceAll(RegExp(r'(<.*>)|\?'), '');
}
排除类型字符串中的泛型类型:
List<E> -> ListList<E>? -> ListString? get excludeGeneric {
return replaceAll(RegExp(r'(<.*>)|\?'), '');
}