getName method
Implementation
String getName() {
  var fullName = super.toString();
  // Expected: Instance of '{classname}'
  var exp = RegExp(r"^Instance of '(.*?)'$");
  return exp.firstMatch(fullName)!.group(1)!;
}String getName() {
  var fullName = super.toString();
  // Expected: Instance of '{classname}'
  var exp = RegExp(r"^Instance of '(.*?)'$");
  return exp.firstMatch(fullName)!.group(1)!;
}