phpFileName property
String
get
phpFileName
Nome de arquivo PHP correspondente (ex.: /api/leads → leads.php).
Implementation
String get phpFileName {
final seg = path.split('/').where((s) => s.isNotEmpty);
return '${seg.isEmpty ? 'index' : seg.last}.php';
}