toRoutePath method

String toRoutePath()

Implementation

String toRoutePath() {
  return '/${toSnakeCase().replaceAll('_', '-')}';
}