getName method

String? getName()

Implementation

String? getName() {
  return name;
}