projectName property

String get projectName

Gets the project name from the path.

Implementation

String get projectName {
  final parts = path.split('/').where((s) => s.isNotEmpty).toList();
  return parts.isNotEmpty ? parts.first : '';
}