name property

String? name
final

The name of the generated getter.

Defaults to the file's basename in camel case plus Routes, so notes.dart generates noteRoutes. Set this when two modules would otherwise collide in one import scope.

Implementation

final String? name;