getTypeString method
Implementation
String getTypeString() {
String type = getDisplayString(withNullability: true).replaceAll('*', '?');
if (type[type.length - 1] == '?') {
type = type.substring(0, type.length - 1);
}
return type;
}
String getTypeString() {
String type = getDisplayString(withNullability: true).replaceAll('*', '?');
if (type[type.length - 1] == '?') {
type = type.substring(0, type.length - 1);
}
return type;
}