name method

String? name([
  1. O? obj
])

Implementation

String? name([O? obj]) {
  obj ??= object;

  if (obj == null) {
    return null;
  }

  return getName(obj);
}