namePieces property Null safety

Set<String> namePieces

Implementation

Set<String> get namePieces {
  _namePieces ??= {
    ...name.split(locationSplitter).where((s) => s.isNotEmpty)
  };
  return _namePieces;
}