A function that returns a list of routes.
typedef RouteBuilderFunction = FutureOr<List<g.RouteBase>?> Function();