createRoute method
void
createRoute({
- required String path,
- required RegExp method,
- required RequestHandler onRequest,
override
Implementation
@override
void createRoute({
required String path,
required RegExp method,
required RequestHandler onRequest,
}) {
final ServerUniverseFunction server_universeDartFunction = ServerUniverseFunction(
path: parsePattern(path),
method: method,
onRequest: onRequest,
);
functions.add(server_universeDartFunction);
}