runtimeTypeString method
Returns the runtimeType, without the generic part.
Implementation
String runtimeTypeString() {
var text = runtimeType.toString();
var pos = text.indexOf('<');
return (pos == -1) ? text : text.substring(0, pos);
}
Returns the runtimeType, without the generic part.
String runtimeTypeString() {
var text = runtimeType.toString();
var pos = text.indexOf('<');
return (pos == -1) ? text : text.substring(0, pos);
}