getName method Null safety

String getName()

Implementation

String getName() => _name!;